Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Environment problem?
Message
 
 
À
06/04/2006 04:12:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01110690
Message ID:
01110965
Vues:
8
>Fabio, this is not necessary I think. It should be sufficient to set correct
>paths to de cursor objects from DE.BeforeOpenTables() method and let
>OpenTables open them as per natural sequence.
>
>For Naomi;
>I don't think it is good idea to use 'set path to ...' in multiple dataset situation. It might work but (as you can see) it might cause the trouble.
>You should rather stick to your solution of setting/correcting table paths to DE.cursor properties (I suppose from de.BeforeOpenTables) and then let tables be open by DE.openTables

It was quite time consuming for us to walk through all code to see how can we fix the problem. We finally found a method LoadCursors, where we now set CursorSource based on _screen.ActiveForm.cImportPath (where the ActiveForm is the calling form at this point).
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform