Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More than one instance of a table
Message
 
To
28/01/1997 16:27:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00018608
Message ID:
00018646
Views:
48
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform