Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Record in use by another user
Message
De
18/05/2001 13:07:04
David Fluker
NGIT - Centers For Disease Control
Decatur, Georgie, États-Unis
 
 
À
18/05/2001 12:16:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00508792
Message ID:
00508844
Vues:
19
>This is a problem that I run into occassionaly and it's happening right now.
>
>In my production reservation system, any user which tries to update a field in the UNITS record will get the error "Record in use by another user." I've tried this on four different terminals.
>
>It doesn't matter which record in the table you try to change; you still get the error.
>
>The system is using local tables on a Novell file server. Approximately 30 terminals have this table open.
>
>The program is based on Visual FoxExpress version 5.0. The UNITS form has its own data session using optimistic table buffering.
>
>If I use EDIT/BROWSE from the command prompt I can change records in the UNITS table without any problem.
>
>Presumably one terminal has some kind of lock on this table which is hanging things up.
>
>Any ideas what the problem might be?
>
>Peter Robinson

Peter,

I'm fishing here, but it bugs me that you get the error on any record, yet you can edit in a browse window. That doesn't sound like the Unit records are locked. Two questions come to mind...
1. If there was another table involved in the save, and perhaps that's where the problem is.
2. If some condition is causing the reservation program to default to some other record in Unit. I had that happen in a FPD program once. It ran fine for two years, then once every few months the program would try to save to the first record. We never found out why, but added code to check if it was record one before it saved.
David.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform