>I am having difficulty with COPY FILE xxx TO yyy. The file 'xxx' is open in a grid and an error 'File is in use' is being produced. Anybody have any ideas?
COPY FILE uses low-level I/O rather than DBF-oriented I/O for it's copy; if VFP has it open with write capabilities, it'll fail. You might try SELECTing the table referenced by the Grid and then using COPY...TO instead.