Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO updating memo filed
Message
 
 
À
31/01/2003 16:36:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00747873
Message ID:
00751084
Vues:
27
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform