<?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: User Input Interface (user forms to input data) in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Input-Interface-user-forms-to-input-data/m-p/17079#M3115</link>
    <description>EG has this ability built in.  For example:&lt;BR /&gt;
&lt;BR /&gt;
In a blank project, create a new code object with the below:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
data test;&lt;BR /&gt;
format date1 date9.;&lt;BR /&gt;
format date2 date9.;&lt;BR /&gt;
&lt;BR /&gt;
date1 = "&amp;amp;date1."d;&lt;BR /&gt;
date2 = "&amp;amp;date1."d;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Go to Tools -&amp;gt; Parameters Manager.  Add the variables named "date1" and "date2".  Set the type of both as a Date, and check the options for "Prompt at value" and "A value is required at runtime".&lt;BR /&gt;
&lt;BR /&gt;
Go back to Project Designer, right click on the code object, and choose properties.  Under parameters, hit Add, and select the two macro variables you added earlier.&lt;BR /&gt;
&lt;BR /&gt;
Hit OK and run the project, and EG should prompt you for the values.  The resulting dataset will be as selected.&lt;BR /&gt;
&lt;BR /&gt;
You can set descriptions and other limitations if required, and even use the values in the other EG functions.&lt;BR /&gt;
&lt;BR /&gt;
Have a look at: &lt;A href="http://analytics.ncsu.edu/sesug/2007/HW02.pdf" target="_blank"&gt;http://analytics.ncsu.edu/sesug/2007/HW02.pdf&lt;/A&gt; for more info.  It'll probably explain it better than I can!&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps.</description>
    <pubDate>Mon, 20 Jun 2011 16:38:46 GMT</pubDate>
    <dc:creator>DF</dc:creator>
    <dc:date>2011-06-20T16:38:46Z</dc:date>
    <item>
      <title>User Input Interface (user forms to input data)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Input-Interface-user-forms-to-input-data/m-p/17078#M3114</link>
      <description>Hi!&lt;BR /&gt;
I have a script which extracts a set of information from our SAS Database using SAS EG (a combination of Data steps and Proc SQL).&lt;BR /&gt;
&lt;BR /&gt;
If I need to change my input parameters (for examlpe data interval etc.) I must change my script manually.&lt;BR /&gt;
&lt;BR /&gt;
Is there an oppotunity to set variable values using some sort of user forms in VBA when you just submit your script with dialog box appearing. Here you can either confirm your default values or input new ones. It allows to utilize you script for use by ordinary users who are not familiar with SAS programming.</description>
      <pubDate>Mon, 20 Jun 2011 08:06:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Input-Interface-user-forms-to-input-data/m-p/17078#M3114</guid>
      <dc:creator>V_Andy</dc:creator>
      <dc:date>2011-06-20T08:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: User Input Interface (user forms to input data)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Input-Interface-user-forms-to-input-data/m-p/17079#M3115</link>
      <description>EG has this ability built in.  For example:&lt;BR /&gt;
&lt;BR /&gt;
In a blank project, create a new code object with the below:&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
data test;&lt;BR /&gt;
format date1 date9.;&lt;BR /&gt;
format date2 date9.;&lt;BR /&gt;
&lt;BR /&gt;
date1 = "&amp;amp;date1."d;&lt;BR /&gt;
date2 = "&amp;amp;date1."d;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
&lt;BR /&gt;
Go to Tools -&amp;gt; Parameters Manager.  Add the variables named "date1" and "date2".  Set the type of both as a Date, and check the options for "Prompt at value" and "A value is required at runtime".&lt;BR /&gt;
&lt;BR /&gt;
Go back to Project Designer, right click on the code object, and choose properties.  Under parameters, hit Add, and select the two macro variables you added earlier.&lt;BR /&gt;
&lt;BR /&gt;
Hit OK and run the project, and EG should prompt you for the values.  The resulting dataset will be as selected.&lt;BR /&gt;
&lt;BR /&gt;
You can set descriptions and other limitations if required, and even use the values in the other EG functions.&lt;BR /&gt;
&lt;BR /&gt;
Have a look at: &lt;A href="http://analytics.ncsu.edu/sesug/2007/HW02.pdf" target="_blank"&gt;http://analytics.ncsu.edu/sesug/2007/HW02.pdf&lt;/A&gt; for more info.  It'll probably explain it better than I can!&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps.</description>
      <pubDate>Mon, 20 Jun 2011 16:38:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Input-Interface-user-forms-to-input-data/m-p/17079#M3115</guid>
      <dc:creator>DF</dc:creator>
      <dc:date>2011-06-20T16:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: User Input Interface (user forms to input data)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Input-Interface-user-forms-to-input-data/m-p/665289#M36312</link>
      <description>&lt;P&gt;A late thank you for your explanation, Andy.&amp;nbsp; Better late than never.&lt;/P&gt;
&lt;P&gt;Your explanation helped me a lot.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the latest version of enterprise guide, the parameter manager is replaced and is called prompt manager, which you can find under View (and then left-under in the screen)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 09:22:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Input-Interface-user-forms-to-input-data/m-p/665289#M36312</guid>
      <dc:creator>fre</dc:creator>
      <dc:date>2020-06-26T09:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: User Input Interface (user forms to input data)</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Input-Interface-user-forms-to-input-data/m-p/665290#M36313</link>
      <description>Sorry, I meant thank you DF instead of Andy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 26 Jun 2020 09:26:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/User-Input-Interface-user-forms-to-input-data/m-p/665290#M36313</guid>
      <dc:creator>fre</dc:creator>
      <dc:date>2020-06-26T09:26:15Z</dc:date>
    </item>
  </channel>
</rss>

