Page 1 of 1

Field error on AADD Statement

Posted: Tue Dec 11, 2018 6:18 pm
by JeffGrant
Can I please get an answer to this? This is causing me a show stopper issue with other applications.


Hi,

in R-Close.mac I have this line

AADD(aTran, { CUSTREC->CUSCODE, CUSTREC->CUSTNAME, CUSTREC->CUSHOLD } )

everything works fine to export the csv file.

but when I add another field, being CUSTREC->GTOTAL, the string value of the account balance held in the customer record, this line

AADD(aTran, { CUSTREC->CUSCODE, CUSTREC->CUSTNAME, CUSTREC->CUSHOLD, CUSTREC->GTOTAL } )

fails saying that the variable GTOTAL does not exist.

I am not sure why, the DECLARE statements are all the same.

I am a little confused for an old fella ;-(

any ideas?

Thanks in advance

Posted: Fri Dec 14, 2018 7:00 am
by JeffGrant
Thanks, I have resolved the issue this morning.

Rgds Jeff