Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using GetDispValue with Crystal V7

Status
Not open for further replies.

DonnaB

Programmer
Apr 23, 2001
34
AU
I'm trying to run the formula detailed below, but an error message of "A number, currency amount, boolean, or string is expected here." appears, with the cursor placed after "else" in the formula.

IF {CLM_PAYMENT.PAYCATEGORY} = '03' then
"Weekly Compensation"
else
GetDispValue ("PAYTYPE",{CLM_PAYMENT.PAYTYPE})

Could this be related to the version of cystal I am using?
 
Do you get an eror if you just use the following formula?

GetDispValue ("PAYTYPE",{CLM_PAYMENT.PAYTYPE})



Does this formula return character values? Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Did you create this function?
Is it on the PC that you are working on now? Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
I just needed to get the .dll on my computer.
Thanks for your help Ken.
:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top