Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto Open Tables
Message
From
30/10/2002 12:13:35
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00716890
Message ID:
00716954
Views:
16
Be careful of #1 if you ever plan on moving to SQL. This one bit us in several tender body parts, causing much blood, sweat, and tears (but without the cool horn section)

Here's a 3rd, suitable if you don't mind opening all tables for multiple views in a single DE:
loObj = ThisForm.RefBizObj.Get('YourBizObj')
loDE = loObj.GetDataEnvironment()
loDE.OpenTables()
---J

>I can think of two ways to open the table if Auto Open Tables is unchecked (I'm sure there are others):
>
>
>1.
>   USE myTable IN 0 AGAIN
>2.
>   loDataEnv = ThisForm.oBizObj.GetDataEnvironment()
>   loDataEnv.ov_myView.OpenTable()
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform