Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change data path after compile form
Message
De
16/01/2001 12:54:58
 
 
À
12/01/2001 22:04:38
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00462065
Message ID:
00464282
Vues:
16
>>First turn AutoOpenTables in your DE to .F.
>>
>>Add this code like this to the Load() event of your form (you could put this in a class so you don't need to remember to put it in every form):
>
>Alternatively, I'm doing it from the .Dataenvironment.BeforeOpenTables, like this:
>
>oApp.SetDataEnv(this)
>dodefault()
>
>The second line is optional - there's no parent class code to execute, it's more a reminder that the default behavior will occur after this.
>
>I had to do this because of a funny bug...

What bug - ?
Are you sure that paths supplied by your oApp.SetDataEnv(this)
are correct?
I am using exactly the same strategy (without dodefault()) for more
then 3 years now, never gave me any problem! But if there is any real bug
I would like to know about.

Regards

Ps. Pozdrav Zrenjaninacima u dijaspori
*****************
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