Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table/Database paths in form Data Environment
Message
 
To
24/04/1996 03:49:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00000802
Message ID:
00000831
Views:
54
>Tom, Adam
>
>all my DataEnvironments are in code
>and i just instantiate them when i load a new
>form - my form class has a DE property where u
>specify which
>DE to load (if any)
>my "coded" DE's use relative paths as well
>so i don't have this prob.
>
>btw,I created a tool (DE extractor) so as not to
>loose the
>ease of use of the DE designer VFP has (i think u
>can get it
>here at the download corner. oh ,and its free <s>)



Arnon

My INI stuff goes deeper so I use it for more then Data
(ie Printers). My dir structure is

C:\Root
C:\Root\Data
C:\Root\Reports
...

The problem is if I start the app in C:\Root then the relative
paths are not going to work. Relative paths
(if I understand you right) only work uphill ( ..\Data).

I also set the dataenvironment in forms. I let VFP open
& close the data for me. Why write & track extra code? What
I do though is have a property for the Default Table so if
there are 3 Tables open I know which one to go back to.

Anyway... The INI thing was a 'sure bet' to get specific info
to the app. I will one day get around to doing the RegEdit
thing but have not done so yet.

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform