<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create dynamic HTML drop down list from sas table in stored proc in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Create-dynamic-HTML-drop-down-list-from-sas-table-in-stored-proc/m-p/682532#M206596</link>
    <description>&lt;P&gt;You can use datasets as source for drop-down-lists, the datasets have to be registered in the metadata. This is documented in the &lt;A href="https://go.documentation.sas.com/api/docsets/stpug/9.4/content/stpug.pdf" target="_self"&gt;Stored Processes: Developer’s Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Sep 2020 07:37:05 GMT</pubDate>
    <dc:creator>andreas_lds</dc:creator>
    <dc:date>2020-09-09T07:37:05Z</dc:date>
    <item>
      <title>Create dynamic HTML drop down list from sas table in stored proc</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-dynamic-HTML-drop-down-list-from-sas-table-in-stored-proc/m-p/682234#M206504</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have a list of questions with a number of various answers in a SAS dataset and i am creating a stored procedure where i need to list the questions with their respective drop down list for the user to select an answer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The data looks as follows:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;Q_ID&lt;/U&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;U&gt;Question&lt;/U&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;U&gt;Drop down selection&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Question1&amp;nbsp; &amp;nbsp; &amp;nbsp; Selection1&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Question1&amp;nbsp; &amp;nbsp; &amp;nbsp; Selection2&lt;/P&gt;&lt;P&gt;1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Question1&amp;nbsp; &amp;nbsp; &amp;nbsp; Selection3&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Question2&amp;nbsp; &amp;nbsp; &amp;nbsp; Selection1&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Question2&amp;nbsp; &amp;nbsp; &amp;nbsp; Selection2&lt;/P&gt;&lt;P&gt;2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Question2&amp;nbsp; &amp;nbsp; &amp;nbsp; Selection3&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Question3&amp;nbsp; &amp;nbsp; &amp;nbsp; Selection1&lt;/P&gt;&lt;P&gt;3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Question3&amp;nbsp; &amp;nbsp; &amp;nbsp; Selection2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like the questions to be dynamic in that if a value on the table is changed, it would reflect on the stored proc. I would not want to hard code 100 odd questions each time a value changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 12:50:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-dynamic-HTML-drop-down-list-from-sas-table-in-stored-proc/m-p/682234#M206504</guid>
      <dc:creator>JackieR</dc:creator>
      <dc:date>2020-09-08T12:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic HTML drop down list from sas table in stored proc</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-dynamic-HTML-drop-down-list-from-sas-table-in-stored-proc/m-p/682470#M206576</link>
      <description>&lt;P&gt;&lt;EM&gt;&amp;gt; I would like the questions to be dynamic&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Where do the questions and drop-down lists appear? In a browser in an HTML form?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 01:30:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-dynamic-HTML-drop-down-list-from-sas-table-in-stored-proc/m-p/682470#M206576</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2020-09-09T01:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic HTML drop down list from sas table in stored proc</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Create-dynamic-HTML-drop-down-list-from-sas-table-in-stored-proc/m-p/682532#M206596</link>
      <description>&lt;P&gt;You can use datasets as source for drop-down-lists, the datasets have to be registered in the metadata. This is documented in the &lt;A href="https://go.documentation.sas.com/api/docsets/stpug/9.4/content/stpug.pdf" target="_self"&gt;Stored Processes: Developer’s Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 07:37:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Create-dynamic-HTML-drop-down-list-from-sas-table-in-stored-proc/m-p/682532#M206596</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2020-09-09T07:37:05Z</dc:date>
    </item>
  </channel>
</rss>

