I have a loop (for/endfor loop) that gather information from 1 table and distributes small dbf files from each record.
for example:
for nCounter = 102 to 213
cAgent = ltrim(str(nCounter))
cFile = cAgent +'-Balance.dbf'
sele balance,storeId from xyz where xyz.StoreId = cAgent into table (cFile)
I need to close the (cFile) after it has been created on the computer.
I cannot issue a "USE" after, as it is closing other tables. And the alias names of the created table is not cFile as it is starting with a number, something like "E", "A","B", etc ...
Ali Koumaiha
Wireless Toyz
Farmington Hills, Michigan
for example:
for nCounter = 102 to 213
cAgent = ltrim(str(nCounter))
cFile = cAgent +'-Balance.dbf'
sele balance,storeId from xyz where xyz.StoreId = cAgent into table (cFile)
I need to close the (cFile) after it has been created on the computer.
I cannot issue a "USE" after, as it is closing other tables. And the alias names of the created table is not cFile as it is starting with a number, something like "E", "A","B", etc ...
Ali Koumaiha
Wireless Toyz
Farmington Hills, Michigan