Solved

ASP VBScript command object lockPessimistic

Posted on 2004-09-21
5
216 Views
Last Modified: 2012-06-21
I'm using a command object to pass 35 parameters to an Access database stored procedure, using the ".Execute" command. Does the command object not have a lockPessimistic property the way a recordset does?
0
Comment
Question by:tom_burkhardt
  • 3
  • 2
5 Comments
 
LVL 18

Expert Comment

by:Data-Man
Comment Utility
no ADO does not have a lock pessimistic property....Mike
0
 

Author Comment

by:tom_burkhardt
Comment Utility
thanks. I didn't think so. Any idea what happens if someone else makes a change at the same time? There must some default read type/lock type for the command object (I'm using an implicit connection, rather than going through a connect object).
0
 
LVL 18

Accepted Solution

by:
Data-Man earned 200 total points
Comment Utility
I usually send over the timestamp field and compare that to the current timestamp to ensure that the record hasn't changed before doing the update.

Mike
0
 

Author Comment

by:tom_burkhardt
Comment Utility
Thanks!!
0
 
LVL 18

Expert Comment

by:Data-Man
Comment Utility
Use the return value to pass back a failure...0 if it worked.

Mike
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now