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
Titre:
Cascade Deleteing and TABLEUPDATE ???
Divers
Thread ID:
00092168
Message ID:
00092168
Vues:
61
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?
Nebraska Dept of Revenue
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform