Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLEDB Provider and Record Locking
Message
From
15/04/2003 18:49:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Title:
OLEDB Provider and Record Locking
Miscellaneous
Thread ID:
00778124
Message ID:
00778124
Views:
56
Any help would be appreciated:

I am accessing Fox2.5 data in VB.NET via the vfp oledb provider.
What I need to do is retrieve the value of a counter from a field and increment it, like this:

if rlock()
m_NextImage = sysconf.NextImage
replace sysconf.NextImage with NextImage+1
unlock
endif

My question is: can I do this by sending an SQL UPDATE and SQL SELECT from VB.NET through the oledb provider and be assured that the record was locked while being updated?

Thanks
Reply
Map
View

Click here to load this message in the networking platform