<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>23 Nov 2018 12:10:26 Z</lastBuildDate><pubDate>22 Nov 2018 23:29:16 Z</pubDate><description>Salut&#13;
J'ai un combo Table lié a une requête qui a 5 paramétrés de Recherche (P1 ou P2 ou P3 ou P4 et P5).&#13;
je souhaite a chaque modification pouvoir exécuté ma Requête et Remplie mes Tables.&#13;
&#13;
[code:wl]&#13;
Recherche est une chaîne = Combo_Table..ValeurAffichée&#13;
SI Recherche..Taille &gt; 5 ALORS&#13;
SI EstNumérique(Recherche) = Vrai ALORS&#13;
	HExécuteRequête(REQ_COMBO,hRequêteDéfaut,Recherche,Recherche,Recherche,null)&#13;
	HLitPremier(REQ_COMBO)&#13;
	SI HTrouve(REQ_COMBO) ALORS&#13;
		TANTQUE PAS HEnDehors(REQ_COMBO)&#13;
			TableAjoute(Combo_Table,REQ_COMBO.libelle+TAB+REQ_COMBO.prix+TAB+REQ_COMBO.Stock)&#13;
			HLitSuivant(REQ_COMBO)&#13;
		FIN&#13;
comboouvre(combo_table)&#13;
FIN&#13;
sinon&#13;
HExécuteRequête(REQ_COMBO,hRequêteDéfaut,null,null,null,Recherche)&#13;
	HLitPremier(REQ_COMBO)&#13;
	SI HTrouve(REQ_COMBO) ALORS&#13;
		TANTQUE PAS HEnDehors(REQ_COMBO)&#13;
			TableAjoute(Combo_Table,REQ_COMBO.libelle+TAB+REQ_COMBO.prix+TAB+REQ_COMBO.Stock)&#13;
			HLitSuivant(REQ_COMBO)&#13;
		FIN&#13;
FIN&#13;
comboouvre(combo_table)&#13;
FIN&#13;
[/code]&#13;
&#13;
Mais rien&#13;
&#13;
--&#13;
PS : I Love Windev</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222119-combo-table-par-requete/read.awp</link><title>Combo Table Par Requête</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>jlamie</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222119-combo-table-par-requete-222132/read.awp</comments><pubDate>23 Nov 2018 12:10:26 Z</pubDate><description>Bonjour,&#13;
&#13;
Si je comprends bien, le champ COMBO_Table est une combobox. Et quand tu sélectionnes une valeur de cette combo, cel…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222119-combo-table-par-requete-222132/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222119-combo-table-par-requete-222132/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/222119-combo-table-par-requete/read.awp">Combo Table Par Requête</source><title>Re: Combo Table Par Requête</title></item></channel></rss>
