Crystal Selection Formula
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
I need to do an "AND" statment in my selection formula CrystalReportViewer1.SelectionFormula = "{events.ddate} = " & (moddate) & "" And "{child.name} = '" & (modname) & "'" each formula works on its own but when I run them togther I get an error about child.name can not be converted to a long I have also tried CrystalReportViewer1.SelectionFormula = "{events.ddate} = " & (moddate) & "" & "{child.name} = '" & (modname) & "'" That gives me an error that say "The rest of the statement does not look apart of the formula" HELP! 1. Out of clutter, find simplicity. 2. From discord, find harmony. 3. In the middle of difficulty lies opportunity. Albert Einstein three rules of work