I have written a save command in my program which will write variable values to a database. i get a base\1003 error variable not found REP_PROOF when i run the function, although the REP_PROOF is a database field. here is where the error occurs in the code
REPLACE REPDETS->REP_PROOF WITH mFileProof <-- error on this line
REPLACE REPDETS->REP_FINAL WITH mFinalFile
REPLACE REPDETS->REP_REPRIN WITH mReprint
REPLACE REPDETS->REP_FOR WITH mInvCon
REPLACE REPDETS->REP_GROUP WITH mInvGroup
the varible mFileProof is not declared in the function this code is contained in, but is declared in main(). all other replaces above this work fine, what could i be doing wrong?
Thanks for any help!