I'm a newbie in Crystal. Currently using Crystal XI. I'm needing to compare invoice numbers and based on the invoice range, assign a "Company Name" whcih is to be used to group a report. My code is
Select {ART_CURRENT__TRANSACTION.Invoice}
Case {ART_CURRENT__TRANSACTION.Invoice} in "100000" to "599999": "Company 1"
Case {ART_CURRENT__TRANSACTION.Invoice} in "600000" to "799999": "Company 2"
Default: "Company 3"
I get a "A string is required here" error message on the Case statement.
I need a correction. Thanks
Select {ART_CURRENT__TRANSACTION.Invoice}
Case {ART_CURRENT__TRANSACTION.Invoice} in "100000" to "599999": "Company 1"
Case {ART_CURRENT__TRANSACTION.Invoice} in "600000" to "799999": "Company 2"
Default: "Company 3"
I get a "A string is required here" error message on the Case statement.
I need a correction. Thanks