Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic replacement by one DBC on another
Message
De
19/10/1998 14:39:54
 
 
À
19/10/1998 14:36:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00148230
Message ID:
00148239
Vues:
17
>>Basically, you don't need in SET PATH at all. Instead of this you keep actual data location locally (e.g. in config.dbf) and reset programmatically DE.Cursor.Database property in DE.BeforeOpenTables event(s).
>
>Privet Edward.
>Unfortunately DE. is not a container, also has not property CursorCount :(( I should describe all cursors manually or there is a best solution?

If all cursors are dbc-tables, then you just:
Thisform.SetAll("Database",cNewdatapath,"Cursor")
If some DE.Cursors are free tables then you should go through all cursors (e.g using AMEMBERS(...,2) and reset CursorSource property for 'free' cursors.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform