Information générale
Catégorie:
Codage, syntaxe et commandes
Are you using table/record buffering? If not, you will have to trap the error with a ON ERROR (yuck!). With table/record buffering on, you just need to check the return value of TableUpdate() to know if there was a problem.
>I've attempted to make this a candidate key. I get an error when a duplicate record is entered. How do I trap that error and replace it with something a little easier to understand? The person who is going to do the data entry as asked my to their desk twice to fix their system when the monitor was shut off. An error like 'uniqueness of index violated' will mean nothing.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement