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

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 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

Re: SET DEFAULT or ?

2019-08-13 Thread Johan Nel
Gene, Again, I am not a VFP developer, but my understanding from the Clipper/VO/X# XBase fork: SET DEFAULT change the path where when not specifying a path, will determine where it will first look at trying to find the file.  The default is the Executing directory. SET PATH is used as