Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Opening CDE in code
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
CodeMine
Title:
Opening CDE in code
Miscellaneous
Thread ID:
00704423
Message ID:
00704423
Views:
57
The CodeMine doc's are a little weak on this one, so I thought I would ask it here just to make sure I am not missing something. I do call this many times throughout my program. Anyone know if it is a problem calling code like this over and over?

I need to open some tables in a CDE through code. I then release the CDE. Is the following code what I need to do this, or am I missing some additional lines.
LOCAL oCDE
m.oCDE = CREATE('cdeSetup')
m.oCDE.OpenAll()

* Start doing My Stuff here

* End doing My Stuff here

m.oCDE.closeall()
m.oCDE.Release()
RELEASE m.oCDE
Any thoughts are appreciated.

Mel Cummings
Next
Reply
Map
View

Click here to load this message in the networking platform