Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More than one instance of a table
Message
 
À
28/01/1997 16:27:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00018608
Message ID:
00018646
Vues:
52
>Here's another gotcha and haven't found a solution to it.
>
>In Visual FoxPro 3, I was able to open the multiple instances of the same table in the DE by specifying a different alias.
>
>In Visual FoxPro 5, the 2nd table with the different alias is not even open.
>
>Anyone having found a workaround for this?

Michel, in one of my forms I work with 3 instances of the same table open with different aliases in DE, I do this in DE BeforeOpenTables, (or DE Init()) like
this.Cursor3.CursorSource="myTable.dbf".
(In my case it is a little more complicated, because I add function to define path to currently selected company data files).
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform