Tim Keogh
2007-05-02 14:54:06 UTC
Hello,
I'm new to Crystal and am having a strange problem with one of my reports.
I am pulling from a database based on a "type code" field, with the
selection criteria
{GTRNS.CODE} = "#" and
cdate({MSTPO.CREATEDATE}) = CurrentDate()-1
But this report also ends up including records where the code is "%", not
"#". I assume this is some kind of special formatting character, so how can
I make crystal select only records with the literal value "#" for the code?
I tried adding the line
and {GTRNS.CODE} <> "\%"
to the formula, but still no luck. Google has been no help either. Thanks
in advance!
Tim
I'm new to Crystal and am having a strange problem with one of my reports.
I am pulling from a database based on a "type code" field, with the
selection criteria
{GTRNS.CODE} = "#" and
cdate({MSTPO.CREATEDATE}) = CurrentDate()-1
But this report also ends up including records where the code is "%", not
"#". I assume this is some kind of special formatting character, so how can
I make crystal select only records with the literal value "#" for the code?
I tried adding the line
and {GTRNS.CODE} <> "\%"
to the formula, but still no luck. Google has been no help either. Thanks
in advance!
Tim