I don't need parameters (I think). I have a very long query with 8 unions and I just want to set a variable at the top instead of hunting through the whole query.
I tried doing
First, there is no such thing as CR/SQL. CR generates SQL based on the database you are connecting to.
Are you in the 'show SQL' window of the Report designer? There are several limitations on what you can do in that window. You can't do anything in the SELECT clause, and I would guess that would include anything ABOVE that statement. It may not be accepted anywhere.
In the SQL designer you should be able to enter any valid SQL statement. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.