<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>31 Dec 2019 17:25:05 Z</lastBuildDate><pubDate>30 Dec 2019 14:33:31 Z</pubDate><description>Bonjour,&#13;
&#13;
J'ai un problème d'enregistrement des modifications au niveau du premier Hmodifie() situé après le HLitRecherche().&#13;
Pourtant au niveau des critères et sous-critères, les modifications sont bien enregistrées.&#13;
&#13;
Je fais appelle à vous parce que je ne trouve pas le pb surtout que les hModifie() suivant fonctionnent. Je troune en boucle, est ce que quelqu'un pourrait me sortir de là.&#13;
&#13;
Merci à vous tous et bonnes fêtes !!!&#13;
&#13;
[code:wl]&#13;
i, c, s sont des entiers&#13;
&#13;
//ENREGISTREMENT DES NOTES&#13;
&#13;
POUR i = 1 À 7 //CANDIDATS&#13;
	SI {"LIB_Candidat" + i,indChamp} &lt;&gt; "Candidature " + i ALORS&#13;
		NotesMarchés.NomCandidat	= {"LIB_Candidat" + i,indChamp}&#13;
		NotesMarchés.ID_Projets		= pIdProjet&#13;
		NotesMarchés.NoteFinaleCandidat = {"LIB_NoteTOTALE"+i,indChamp}&#13;
		&#13;
		HExécuteRequête(REQ_NotesCandidat,hAvecFiltre,{"LIB_Candidat" + i,indChamp},pIdProjet)&#13;
		SI PAS HLitPremier(REQ_NotesCandidat) ALORS&#13;
			HAjoute(NotesMarchés)&#13;
		SINON&#13;
			HLitRecherche(NotesMarchés,IDNotesMarchés,REQ_NotesCandidat.IDNotesMarchés)&#13;
			SI PAS HTrouve(NotesMarchés)ALORS&#13;
				Info("Données non trouvé") &#13;
			SINON&#13;
				HModifie(NotesMarchés)&#13;
			FIN&#13;
		FIN&#13;
		&#13;
		POUR c = 1 À 4 //CRITERES&#13;
			//ENREGISTREMENT DES CRITERES&#13;
			SI {"SAI_Critere" + c + "Candidat" + i,indChamp} &lt;&gt; "" ALORS&#13;
				{"NotesMarchés.NoteCritere" + c,indRubrique} = {"SAI_Critere" + c + "Candidat" + i,indChamp}&#13;
				{"NotesMarchés.NoteFinaleCritere" + c,indRubrique} = {"LIB_NoteFinale"+i+c,indChamp}&#13;
				HModifie(NotesMarchés,hNumEnrEnCours)&#13;
			FIN&#13;
			//ENREGISTREMENT DES SOUS CRITERES &#13;
			POUR s = 1 À 4&#13;
				SI {"SAI_SCritere"+ c + s + "Candidat" + i,indChamp} &lt;&gt; "" ALORS&#13;
					{"NotesMarchés.NoteSousCritere"+ c + s,indRubrique} = {"SAI_SCritere"+ c + s + "Candidat" + i,indChamp}&#13;
					{"NotesMarchés.NoteFinaleSousCritere"+c+s,indRubrique} = {"LIB_NoteFinale"+i+c+s,indChamp}&#13;
					HModifie(NotesMarchés,hNumEnrEnCours)&#13;
				FIN&#13;
			FIN&#13;
		FIN	&#13;
	FIN&#13;
FIN&#13;
&#13;
EcranVersFichier() &#13;
Ferme()&#13;
[/code]</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications/read.awp</link><title>Problème enregistrement des modifications</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Laurent</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications-235867/read.awp</comments><pubDate>31 Dec 2019 17:25:05 Z</pubDate><description>Effectivement, c'était ça.&#13;
&#13;
Je ne savais pas que les données à modifier devaient être écrite seulement après la lecture.&#13;
Merc…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications-235867/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications-235867/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications/read.awp">Problème enregistrement des modifications</source><title>Re: Problème enregistrement des modifications</title></item><item><author>test</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications-235806/read.awp</comments><pubDate>30 Dec 2019 15:03:25 Z</pubDate><description>tu l'as dans le désordre...&#13;
&#13;
il faut faire, dans l'ordre&#13;
&#13;
1. lecture enreg&#13;
2. modif des champs d l'enreg&#13;
3. hmodifie&#13;
&#13;
tu…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications-235806/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications-235806/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications/read.awp">Problème enregistrement des modifications</source><title>Re: Problème enregistrement des modifications</title></item><item><author>Laurent</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications-235805/read.awp</comments><pubDate>30 Dec 2019 15:03:17 Z</pubDate><description>Le Hajoute() fonctionne lui</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications-235805/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications-235805/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/235803-probleme-enregistrement-modifications/read.awp">Problème enregistrement des modifications</source><title>Re: Problème enregistrement des modifications</title></item></channel></rss>
