thanks both of you, the first option is working correct.
But if i using the SQL Expression i receive the error "the ) is missing" and the word 'from' is highligthed.
oke, nice that you're both agree ;-)
But when i saved it with ignoring the error, I still get the error by running the report.
So what I've to do for running a sql statement in crystall?
You should just use Brian's suggestion (field explorer->formula->new) if you only want to display prices for that code, but still need other codes in your report:
if {INV1.ItemCode} = '98' then
{INV1.Price}
If you don't need any other codes in the report, then use a selection formula like this:
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.