Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Idea for record locking using SQL Pass-Through and SQLSE
Message
From
18/03/2002 09:21:39
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00625861
Message ID:
00634049
Views:
35
Larry,

Thanks for responding [I'm slow getting back on responses these days].

My follow-up question (this was the issue of locking records in a VFP front-end and SQL Server at the back end when I'm using SPT]...our DBA doesn't believe in the concept of an external table that contains integer keys of records that are locked, nor in the idea of an extra field in each master header table.

He believes that 'lock hints' in SQL Server are sufficient. I've read the documentation on 'lock hints', and admittedly I'm a bit confused. Based on what I've read, I'm unable to determine if lock hints will give me what I want - to be able to 'lock' a record back in SQL when I want to edit it, such that others would not be able to edit it [they'd get a validation message that I could trap, indicating that another has the record].

So would 'lock hints' do the trick, or aren't they sufficient?

Thanks,
Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform