cSQL = "UPDATE reembolso set exp=1 " asa=SQLEXEC(lnHandle,cSQL )Now it became complicated because I am trying to make it conditional using a VFP variable.
STORE iReemb1.ID TO myID cSQL = "UPDATE reembolso set exp=1 where ID <= myID " asa=SQLEXEC(lnHandle,cSQL )Looks like the mySQL command does not accept the VFP variable directly.