Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with TABLEUPDATE
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Problem with TABLEUPDATE
Miscellaneous
Thread ID:
00720907
Message ID:
00720907
Views:
43
Sorry if I do use the correct terminology here!
I am having trouble with a server class (form with ole public ticked) and compiled as a single threaded com server.
I am using it to provide access to my visual foxpro database for adding, editing and deleting of records. I am using private data session with optimistic buffer mode. I open the table, set multilocks on and use cursorsetprop to enable table buffering (5). I issue and replace statement then begin transaction, tableupdate then either rollback or end transaction etc. All usual code that I have always used.
This all works fine if I create an object of the form in the VFP IDE and but if I try to call the replace and tableupdate methods from VB through the .dll the code fails on the tableupdate with the error "Function requires row or table buffering mode"
Any ideas appreciated.
Chris Maiden
Email
Web
Next
Reply
Map
View

Click here to load this message in the networking platform