Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with TABLEUPDATE
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Problem with TABLEUPDATE
Divers
Thread ID:
00720907
Message ID:
00720907
Vues:
44
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform