Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to USE a DBF in ISAPI VFP MTDLL ?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Internet applications
Title:
How to USE a DBF in ISAPI VFP MTDLL ?
Miscellaneous
Thread ID:
00989817
Message ID:
00989817
Views:
61
How can my project "USE" a DBF for methods in my COM. I have tried an Init() (CUSTOM CLASS) to use. I have also "USEed" at the bottom of the COM (thats where I assign property values) - but gey a "not allowed message.
DEFINE CLASS mClass OLEPUBLIC
PROCEDURE SomeMethod
USE (this.cDataPath+"MyDBF") in 0 SHARED NOUPDATE
* ... process
ENDPROC

PROCEDURE Someothermethod
USE (this.cDataPath+"MyDBF")* call a process outside the class definition
ENDPROC
cDataPath=[C:\InetPub\Scripts\Data\]
ENDDEFINE
I would like the DBFs to be open and available with SELECT myDBF for methods inside and outside the class - but it seems I have to re-use for each method.
Thanks
Imagination is more important than knowledge
Next
Reply
Map
View

Click here to load this message in the networking platform