> Is there some equivalent approach of a COPY TO when you have a DBC with
> tables? I am trying to programatically "back up" or sometimes copy a
> subset of an entire database to a different directory. When this happens, I
> want to get a copy of the DBC in the new directory and all of the specified
> files (possibly specifying just subsets of the records in some cases).
Alan Schwartz had an article in FoxPro Advisor about this very thing.
In fact, I think the example situation that he used was for backing up
the data. I, unfortunately, don't have the article here, but you should
be able to find it at
www.advisor.com