Marc
2008-07-04 10:20:45 UTC
I have a command in a PRG
SELECT * FROM fNames INTO CURSOR fTmpNames WHERE Int_key=11
Before executing this command two tables are opened and 'fNames'
table is selected as the current alias.
After executing this command fTrmVars table is created and relevant records
also there.
But 'fTmpNames' doesn't select as the current alias
Still the current alias is 'fNames'
lcAliasBef = ALIAS()
SELECT * FROM fNames INTO CURSOR fTmpNames WHERE Int_key=11
lcAliasAfter = ALIAS()
SELECT * FROM fNames INTO CURSOR fTmpNames WHERE Int_key=11
Before executing this command two tables are opened and 'fNames'
table is selected as the current alias.
After executing this command fTrmVars table is created and relevant records
also there.
But 'fTmpNames' doesn't select as the current alias
Still the current alias is 'fNames'
lcAliasBef = ALIAS()
SELECT * FROM fNames INTO CURSOR fTmpNames WHERE Int_key=11
lcAliasAfter = ALIAS()