Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multi-User Error Handling
Message
De
28/10/1998 09:34:53
 
 
À
28/10/1998 09:30:41
Steve Goss
Aon Group Limited
London, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00151511
Message ID:
00151524
Vues:
21
>>>We are experiencing various errors when multiple users are adding records, specifically "Update Conflict" and "Uniqueness of x is violated". We are using optimistic row buffering and have an error routine that traps these errors. For the "Uniqueness" error we have coded a retry however we then get
>>>"Table buffer for alias x contains uncommitted changes.".
>>>
>>>Has anyone got any ideas as to what were doing wrong, or any suggestions of a better way to handle these errors.
>>>
>>>Thanks.
>>
>>Do you have primary tag on your table? How do you generate this key for new records?
>
>We do have the field marked as a primary tag. It appears to be giving us the error on the Append Blank ie. two people have created a record on the table with a primary key of spaces.

You should either generate key right from field default value procedure, or use INSERT INTO instead of APPEND BLANK.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform