Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to know which triggger have failled?
Message
De
15/05/1997 07:48:09
 
 
À
14/05/1997 10:10:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00032132
Message ID:
00032398
Vues:
35
>>I would like to know during data entry into a table which trigger have failled. My objective is to intercept the message "trigger failled" to inform the user a message more specific.
>
>In your trigger code, make sure you have ON ERROR assigned to do something to prevent the "trigger failed" message. If your TABLEUPDATE fails, use AERROR() to get error. Handle the error as appropriate.
>
>-Doug-

Ok. I have the ON ERROR routine. I would like to discover, which table parent
had failled?

For example:

When I am inserting record on a table that is child of many others parent table.
The trigger failled and I would like to discover which table doesn't have parent
record.
Antonio Carlos Kleinübing
Systems Analyst
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform