Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form's data environment info goes missing
Message
De
24/07/2008 17:58:05
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01333790
Message ID:
01333922
Vues:
11
>>>I've have recently had the data environment on 4 forms go missing, causing headaches on some of the more complex forms. I recall running beautify on the code for one of the forms, but i suspect that was just coincidental. Its very random, but getting more frequent.
>>
>>Are you on VFP5? That's when this last happened to me...
>>
>>You may be better off exporting dataenvironents into prgs and using those instead. Prgs are far harder to lose.
>
>For this one, V6 is still in use.

I've reloaded my old V6 and this works... in a bit of a roundabout way: defined a custom class in a prg, had it open tables, instantiated that in form's .load() (via this.newobject("oDe", "de","declass.prg")) and it opened the classes alright. If you have a method somewhere which would open a table for you, code could be rigged to replace all DEs with calls to such PRG based DE objects. I actually think I've even done that once, but it would be easier to write the code again than to find it :).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform