VFP6 -> delete a table... clarification?

Author: Brian Robichaud, jbr@bretech.com

Posted: 1999-08-31 at 09:59:35

Hello folks,

I'm feeling particularly thick (dense, stupid.. whatever,) this morning...

can anybody tell me what I'm doing wrong?

USE IN myProjectSearch && <- I thought this closed the table/file.. but:

DELETE FILE 'c: empmyProjectSearch.dbf' && <- this raises a "file in use

error"

myProjectSearch is a free table that is created and populated on init of a

grid control then filtered based on set search criteria that may or may not

be filled in.

How do I properly close this temporary file so that I can delete it when I'm

done with this screen?

TIA

Brian

mailto:jbr@bretech.com

©1999 Brian Robichaud, jbr@bretech.com