Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DE PORPERTY, DATABASE
Message
From
28/01/2001 07:39:38
 
 
To
25/01/2001 14:32:07
Randy Hooper
Ranco Business Software
Tampa, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00468686
Message ID:
00469488
Views:
18
>I have a client wants to move from a peer - peer network to an NT Server. I have notice in the DE Database Property is Hard Coded with a path. Do I need to change this path or is VFP going to know how handle this.
>
>Thanks, Randy

VFP himself will flash an error!
But, if you change database property of your cursors in DE.BeforeOpenTables
at run time then everything will work fine, provided you have supplied them with propper paths.
Generally speaking, you should have method somewhere in your framework capable of receiving whole DE as parameter (object) and knowing where data realy are, changing cursor's database property to correct ones.
I have something like this in my forms DE.BeforeOpenTables:
***********************************
oApplication.redirect_cursors(this)
***********************************
This approach give you possibility to use
multiple databases at multiple locations freely in your forms
for as long as your application knows EXACTLY where they are at any given moment of time.
There was good article by Jim Booth in FoxTalk about these (form.de) matters.
I hope this will help you resolve your problem.
Regards
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform