lcAliasTmp=LOWER(SYS(2015)) =SQLEXEC(.cSQLEXECCon,.oDocFac.cSQLQuery,lcAliasTmp)and then try to do that,
lcAliasMapa=LOWER(SYS(2015)) SELECT * FROM &lcAliasTmp INTO TABLE '.\tmp\'+lcAliasMapa ALTER TABLE &lcAliasMapa ADD COLUMN DataI d(8)VFP gives the error 1491-No update tables are specified. Use the tables property of the cursor.