<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[select dinamiche]]></title><description><![CDATA[<p dir="auto">ho un problema con le select dinamiche.</p>
<p dir="auto">in pratica ho una select con elenco di nome da un database  e in base al valore deve caricare un altra select con i dati del dipendente<br />
Come posso fare???</p>
]]></description><link>https://dev.connect.gt/topic/48954/select-dinamiche</link><generator>RSS for Node</generator><lastBuildDate>Wed, 25 Nov 2026 16:49:20 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/48954.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Oct 2007 13:46:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to select dinamiche on Wed, 03 Oct 2007 10:28:35 GMT]]></title><description><![CDATA[<p dir="auto">facciamo un esempio con due select (select1, select2) ed un pulsante di submit vicino la prima select, tutto in un form che con il POST punta su se stesso.</p>
<ol>
<li></li>
</ol>
<p dir="auto">&lt;%<br />
Recordset1.Source = "select * from tabella"<br />
apri recordset1<br />
%&gt;<br />
2. prima recordset2 metti istruzioni che non ti mandino in errore il recordset2<br />
&lt;%<br />
valorescelto = "0"<br />
if not request.form("select1") = "" then valorescelto = request.form("select1")<br />
Recordset2.Source= "select * from tabella2 where idtabella1 =" &amp; valorescelto<br />
apri recordset2<br />
%&gt;<br />
3.<br />
&lt;select name="select1" Id="select1"&gt;<br />
&lt;option value="0"&gt;--Scegli--&lt;/option&gt;<br />
&lt;% while not recordset1.eof%&gt;<br />
&lt;option value="&lt;%=Recordset1("Id")%&gt;"&gt;&lt;%=Recordset1("campo")%&gt;&lt;/option&gt;<br />
&lt;%<br />
recodset1.movenext()<br />
Wend<br />
%&gt;<br />
&lt;/select&gt;<br />
&lt;input type="submit" Id="seleziona"&gt;<br />
&lt;select name="select2" Id="select2"&gt;<br />
&lt;option value="0"&gt;--Scegli--&lt;/option&gt;<br />
&lt;%<br />
if not Recordset2.eof then<br />
while not recordset2.eof%&gt;<br />
&lt;option value="&lt;%=Recordset2("Id")%&gt;"&gt;&lt;%=Recordset2("campo")%&gt;&lt;/option&gt;<br />
&lt;%<br />
recodset2.movenext()<br />
Wend<br />
end if<br />
%&gt;<br />
&lt;/select&gt;<br />
&lt;%<br />
recordset1.close<br />
recorset2.close<br />
recordset1=Nothing<br />
recordset2=Nothing<br />
%&gt;</p>
<p dir="auto">La logica è questa....</p>
]]></description><link>https://dev.connect.gt/post/611745</link><guid isPermaLink="true">https://dev.connect.gt/post/611745</guid><dc:creator><![CDATA[hwlab123]]></dc:creator><pubDate>Wed, 03 Oct 2007 10:28:35 GMT</pubDate></item><item><title><![CDATA[Reply to select dinamiche on Wed, 03 Oct 2007 09:51:15 GMT]]></title><description><![CDATA[<p dir="auto">Ottimo, ti sposto in ASP! <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://dev.connect.gt/post/611743</link><guid isPermaLink="true">https://dev.connect.gt/post/611743</guid><dc:creator><![CDATA[josie]]></dc:creator><pubDate>Wed, 03 Oct 2007 09:51:15 GMT</pubDate></item><item><title><![CDATA[Reply to select dinamiche on Tue, 02 Oct 2007 21:13:17 GMT]]></title><description><![CDATA[<p dir="auto">il linguaggio è asp o vbscript.<br />
grazie</p>
<blockquote>
<p dir="auto"><strong>Josie</strong></p>
<p dir="auto">Non mi hai detto con che linguaggio stai lavorando, ASP? PHP? Altro?</p>
</blockquote>
]]></description><link>https://dev.connect.gt/post/611754</link><guid isPermaLink="true">https://dev.connect.gt/post/611754</guid><dc:creator><![CDATA[mando]]></dc:creator><pubDate>Tue, 02 Oct 2007 21:13:17 GMT</pubDate></item><item><title><![CDATA[Reply to select dinamiche on Tue, 02 Oct 2007 17:19:15 GMT]]></title><description><![CDATA[<p dir="auto">Non mi hai detto con che linguaggio stai lavorando, ASP? PHP? Altro?</p>
]]></description><link>https://dev.connect.gt/post/611742</link><guid isPermaLink="true">https://dev.connect.gt/post/611742</guid><dc:creator><![CDATA[josie]]></dc:creator><pubDate>Tue, 02 Oct 2007 17:19:15 GMT</pubDate></item><item><title><![CDATA[Reply to select dinamiche on Tue, 02 Oct 2007 17:14:28 GMT]]></title><description><![CDATA[<p dir="auto">sarò piu' chiaro spero.<br />
ho una select con due valori A-B.<br />
se seleziono A mi deve caricare in un altra select<br />
i valori che ho in un database mdb.</p>
<p dir="auto">spero di essere stato chiaro.<br />
grazie a chi vuol aiutarmi.</p>
]]></description><link>https://dev.connect.gt/post/611752</link><guid isPermaLink="true">https://dev.connect.gt/post/611752</guid><dc:creator><![CDATA[mando]]></dc:creator><pubDate>Tue, 02 Oct 2007 17:14:28 GMT</pubDate></item><item><title><![CDATA[Reply to select dinamiche on Tue, 02 Oct 2007 16:59:02 GMT]]></title><description><![CDATA[<p dir="auto">Ciao mando e benvenuto nel forum GT,<br />
ci dovresti dare maggiori informazioni sul tuo problema per poterti aiutare.<br />
Tanto per cominciare dovresti dirci con quale linguaggio stai lavorando.. Se fornisci maggiori dettagli posso spostarti nella sezione più adatta <img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=12b9555a9a1" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>https://dev.connect.gt/post/611744</link><guid isPermaLink="true">https://dev.connect.gt/post/611744</guid><dc:creator><![CDATA[josie]]></dc:creator><pubDate>Tue, 02 Oct 2007 16:59:02 GMT</pubDate></item></channel></rss>