Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Repalce and Delete Commands Not Working - help needed
Message
De
13/10/1998 05:18:08
 
 
À
13/10/1998 05:01:28
Yin Min Chen
Nec Home Electronics(M) Sdn Bhd
Sungai Petani, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00146137
Message ID:
00146142
Vues:
28
>Because Delete does not delete the records in my detail table which I use foriegn key to cascade delete my detail table.
Ok.
You want to change the primary key to 1 of the unique string by calling SYS(2015)?
Ok, but as I can see, you first replace primary key and then delete it... delete command cannot find it because it has new value (SYS(2015))

Try :
TmpUserCode = SYS(2015)
replace usercode with TmpUserCode
delete from tsmtranh where usercode = TmpUserCode
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform