Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preventing record deletion
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00121855
Message ID:
00121925
Vues:
18
You can call user-defined function as a DELETE Trigger from table definition window. If your null codes are hardcoded, you can simply put a check with

IF code = 'C000000'
RETURN .F.
ENDIF

Bye
Jayesh

>I frequently use a set of what I used to call null records, before we had null values, as relation templates in a set of related tables. For example a customer with key C00000, name {new customer}, etc.
>
>Any suggestions on using some triggers to prevent their deletion, or properties to prevent their display?
>
>TIA,
>Al Allison, [AMPS Automation, Inc.]
- Jayesh
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform