Datafile Location

Grzegorz (Greg) Pasternak grzegorz at myfastcom.ca
Wed Sep 13 11:28:05 EDT 2017


Forgot to add, once you know the internal name of the current datafile you can use $pathname()  to find out the location of this file.

If you have many datafiles open you can build the list of them and see which one is current by examining vLst.C3

Do $datas.$makelist($ref.$name,$ref.$pathname,pick($cdata().$name()=$ref.$name,kFalse,kTrue)) Returns vLst



On Sep 13, 2017, at 9:40 AM, Rankin Darby <darbyrr at gmail.com> wrote:

> How can you find out which datafile your library is pointing to?
> 
> I have had an instance where I believe a User pointed the library to a
> non-production datafile after opening Omnis application.
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> 




More information about the omnisdev-en mailing list