Re: SET DEFAULT or ?

2019-08-14 Thread Peter Cushing
I can run my app from any location as long as all the supporting files are there.  Your default folder will be the folder you started the EXE in unless you have a DEFAULT = line in your startup config.fpw At startup I set a public variable ps_home = FULLPATH('') Any paths referenced in my app

AW: SET DEFAULT or ?

2019-08-14 Thread juergen
Normally a SET PATH TO would be sufficient. If you're using a DBC, then just explicitly open that DBC with the provided path is all you need. wOOdy -Urspr√ľngliche Nachricht- Von: ProFox Im Auftrag von Gene Wirchenko Gesendet: Mittwoch, 14. August 2019 05:58 An: ProFox Email List

Re: SET DEFAULT or ?

2019-08-14 Thread Alan Bourke
You need to know the location of the data, say lcLocation then: If you're using a DBC it's just open database (addbs(lcLocation) + "mydbc") use table1 in 0 use table2 in 0 If you're opening tables explicitly then then: use (addbs(lcLocation) + "table1") in 0 use (addbs(lcLocation) + "table2")

Re: SET DEFAULT or ?

2019-08-14 Thread Jean Laeremans
Must have done this at least 30 years ago. ;) Op wo 14 aug. 2019 13:27 schreef Alan Bourke : > You need to know the location of the data, say lcLocation then: > > If you're using a DBC it's just > open database (addbs(lcLocation) + "mydbc") > use table1 in 0 > use table2 in 0 > > If you're