Field error on AADD Statement
  • JeffGrant
    Posts: 32
    Joined: Thu Sep 20, 2018 3:38 pm
    Location: Sydney Australia

    Field error on AADD Statement

    by JeffGrant » Tue Dec 11, 2018 6:18 pm

    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
  • JeffGrant
    Posts: 32
    Joined: Thu Sep 20, 2018 3:38 pm
    Location: Sydney Australia

    by JeffGrant » Fri Dec 14, 2018 7:00 am

    Thanks, I have resolved the issue this morning.

    Rgds Jeff

Who is online

Users browsing this forum: No registered users and 1 guest