# Re: 用SelectionFormula

Posted by Fred Tsai on March 02, 1999 at 10:59:47:

In Reply to: Re: 用SelectionFormula posted by SuBird on February 26, 1999 at 15:05:31:

: 你的月份为何要输入文字???
: 可否将SelectionFormula该行秀一下，或请检查你的Field Type.
还请你帮忙一下
Dim Name As String
Dim ID As String
Name=Combo1.Text
ID=Combo2.Text
CrystalReport1.selectionFormula= " {Activity Hours.Name} = " & Name & " "
CrystalReport1.selectionFormula= " {Activity Hours.ID} = " & ID & " "
这样的写法第二个可以执行第一个确没有办法????

Follow Ups:

- 原来如此! SuBird 11:27:00 3/02/99 (0)