PDA

Click to See Complete Forum and Search --> : Crystal Rpts setting selection


rringsred
Jul 29th, 1999, 06:08 PM
Hi

I was wondering if anyone knows the proper syntax to set the selection formuala in VB6. I tried it in the crystal control as follows:
{Query.WATER_TIMBER} = "W" and I also tried to set it in my code which is my ultimate goal. However when I do this my report does not display which I am assuming means that the formula is wrong because it works fine with out it. I also tried setting parameters to get the proper selection and that does not want to work either so I think i have a simple syntax prob. Thanks for the reply

Rings

kishore
Jul 29th, 1999, 08:30 PM
crystalreport1.selectionformula="{query.Water_timber}='W'"


I hope this helps

kishore
Jul 29th, 1999, 08:33 PM
Just making sure:

There is a quote before and after W.