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.