Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting a primary/recordlocking/monitor network connection?
Message
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
Getting a primary/recordlocking/monitor network connection?
Divers
Thread ID:
00647626
Message ID:
00647626
Vues:
44
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform