>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