Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DE PORPERTY, DATABASE
Message
De
28/01/2001 07:39:38
 
 
À
25/01/2001 14:32:07
Randy Hooper
Ranco Business Software
Tampa, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00468686
Message ID:
00469488
Vues:
19
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform