Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting a primary/recordlocking/monitor network connection?
Message
 
To
All
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Getting a primary/recordlocking/monitor network connection?
Miscellaneous
Thread ID:
00647626
Message ID:
00647626
Views:
43
Hi I am writing an app using VB with VFP via ADO. I have a couple of questions...

1. How do I get a new primary for adding a record to a VFP database using ado - I have experimented with select max(field) etc but have found this to be unreliable... I hope to use a keys table but testing this with 2 forms adding 500 records into a table at the same time has been unsuccessful.

2. How do I handle the possiblity of two user editing the same record at the same time? Or 1 user deleting a record but it still showing whilst another user has his form open on that record?

3. Say my data is on a server and my program is running locally - how do I prevent problems if the network connection is lost?

Thanks

Chris
Chris Maiden
Email
Web
Next
Reply
Map
View

Click here to load this message in the networking platform