bonjour
J'explique ma situation,j'ai deux tables :Tache et Demande ,tache contient la clé étrangère de demande (num_demande) , je veux ajouter les données a la table Tache avec une condition
tous les champs s'ajoutent sauf num_demande
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 tache.nom_tache=SAI_Nom_tache tache.debut=SAI_Debut tache.fin_tache=SAI_Fin_tache tache.responsable=SAI_Responsable tache.achevee=INT_Achevee tache.descreption=SAI_Descreption HExécuteRequête(maReq) IF SAI_Entier1 = maReq.num_client ALORS tache.Num_demande=maReq.num_demande END Info("L'ajout c'est bien passé") HAjoute(tache) RAZ(Vrai) Ferme
Partager