* Grab a couple tempfile names lcFOrange= SUBSTR(SYS(2015), 3, 10) && taken from VFP help examples lcFExpend =SUBSTR(SYS(2015), 3, 10) && temp table name lcFCommit =SUBSTR(SYS(2015), 3, 10) && temp table name lcFOutput =SUBSTR(SYS(2015), 3, 10) && temp output file SELECT whatever into table (lcFExpend)This works, fine, but the (lcFExpend) then isn't a "real" alias that can be used to do things like
WHERE (lcFExpend).fieldname="myvalue"I fooled around with all combinations of &lcFExpend and (lcFexpend) and sometimes things seem to work and other times not.