Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Weird DELETE FILE problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00196886
Message ID:
00196921
Views:
26
Since you close the table shortly after creating it, it may not ever actually need to be written to disk. Just check for it's existence before deleting.

HTH!
Mark

>How can I flush memmory and force it to be written? If I used a full path for query1 would it be more likely to be written?

>>>query1 = sys(3)
>>>select * from collat.dbf into table (query1)
>>>USE (QUERY1) IN 0 ALIAS QUERY1
>>>QUERY = 'E'+SUBSTR(SYS(3),2,7)+'.DBF'
>>>SELECT QUERY1
>>>COPY TO (QUERY)
>>>USE (QUERY) IN 0 ALIAS QUERY
>>>SELECT QUERY
>>>USE IN QUERY1
>>>DELETE FILE(QUERY1) && File not found
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.
Previous
Reply
Map
View

Click here to load this message in the networking platform