Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cascade Deleteing and TABLEUPDATE ???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00092168
Message ID:
00092178
Vues:
21
>>How do you handle TABLEUPDATE when using Cascade deletion?? >>I have the following code which, needless to say, doesn't work >> >> >> DELETE >> IF TABLEUPDATE(0,.T.,'Property') >> * cascade delete in referential entegrity deletes persinfo records >> IF TABLEUPDATE(0,.T.,'PersInfo') >> lnRetVal = MESSAGEBOX('Property and PersInfo DELETED!',MB_ICONINFORMATION,'Property Deletion') >> ELSE >> =TABLEREVERT(.T.,'PersInfo') >> =TABLEREVERT(.F.,'Property') >> lnRetVal = MESSAGEBOX('DELETE command FAILED!',MB_ICONINFORMATION,'Property Deletion') >> ENDIF >> ENDIF >> SKIP >> >> >>What do I not understand? > >in the else, should read lnRetVal = ...., right?

Why? I'm not doing anything with it...
Nebraska Dept of Revenue
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform