# Re: 用SelectionFormula

Posted by Fred on February 26, 1999 at 10:08:25:

In Reply to: 用SelectionFormula posted by SuBird on February 25, 1999 at 08:39:15:

: 用SelectionFormula; 其语法类似SQL之Where子句，但有些许不同，例：
: CrystalReport1.SelectionFormula = "{Table名称.月份} = '" & Text1.Text & "'"
: Text1输入月份...Try it!

请问一下我用Combo来输入变数,若我输入的是数字,则SelectionFormula没闻题,若我输入的是文字,则出现错误,请问一下会是什么问题导致error?

Follow Ups:

- Re: 用SelectionFormula SuBird 15:05:31 2/26/99 (2)
  - Re: 用SelectionFormula Fred Tsai 10:59:47 3/02/99 (1)
    - 原来如此! SuBird 11:27:00 3/02/99 (0)