I'm trying to determine if a numeric field is a debit or a credit. IF the field starts with a "-" it's a debit, ELSE it's a credit. I'm not sure how do do this? Any help, or suggestions?
Would it be something like:
IF FIELDX CONTAIN "-" MOVE TO DEBIT
ELSE MOVE TO CREDIT?
Basically, I'm not sure how I look for one character in a field.
Thanks for your help.
Would it be something like:
IF FIELDX CONTAIN "-" MOVE TO DEBIT
ELSE MOVE TO CREDIT?
Basically, I'm not sure how I look for one character in a field.
Thanks for your help.