Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File is in use by another user
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00004704
Message ID:
00004870
Vues:
38
>I had the impression that INSERT INTO wasn't affecting the header. I think I know why I never had this error before. I didn't put the SET REPROCESS in this system. The default is 0 so if there is a collision, it failed right away by returning this message. I usually put it in all my system but for this one I forgot.

Why don't you try an attemp to lock the file header?
VFP introduced the ability to lock the header with RLOCK("0",SELECT())
and the ability to unlock the header with UNLOCK RECORD 0

I have used this on occassion, and it effectively allows you to control
access to the header.
Peter Stephens
Visual Records, Inc.

Lead Programmer for the general purpose record keeping system Visual Records. Written primarily in VFP 6.0 with a little C++.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform