On Mon, Feb 2, 2026 at 7:46 AM Luca Giammattei <luca.giammattei@xxxxxxxxx>
wrote:

doU MyDS(x).companyLib = *blanks;
If %trim(MyDS(x).companyLib) <> defaultCompany;
rc=DoCmd('OVRDBF FILE(MyFILE00F) TOFILE(' +
%trim(MyDS(x).companyLib) + '/MyFILE00F)');


Are you closing the file before the OVRDBF and reopening it after?

The way I've always done that is...

1. Code the file as usropn.
2. Close the file if it's open (use %open bif)
3. Run the OVRDBF
4. Reopen the file
5. Close the file when done

david

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.