Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO updating memo filed
Message
 
 
To
31/01/2003 16:36:12
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00747873
Message ID:
00751084
Views:
28
Hi Jeff,

The code you posted shows optimistic locking, not pessimistic. Can you clarify that?

>I'm working on an application that is having some serious, though intermitant, conflicts in the multiuser enviornment. I found out there's a VB programmer that is writing data to the memo field. He said he's using pesamistic locking, but I wonder if ADO might be locking the table header in the memo file. I'm starting to write some test code right now to see if I get contention. Apparently the VB code is not called very often, and I don't have conflicts very often.
>
>below is connection code and record set code I received from the VB guy.
>Any thoughts apprecitated.
>connstr = "Provider=MSDASQL.1;Persist Security Info=False;" + _
>             "Driver={Microsoft FoxPro VFP Driver (*.dbf)};" + _
>             "UID=;SourceDB=" + Source + "\;" + _
>             "SourceType=DBF;Exclusive=No;BackgroundFetch=No;" + _
>             "Collate=Machine;Null=Yes;Deleted=Yes;"
>TJrst.Open sqlstr, TJcnn, adOpenKeyset, adLockOptimistic
>
>
>TJrst.Update
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform