<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: how to have user input pre-populate existing and additional fields?</title><link>https://www.infopathdev.com:443/forums/thread/42661.aspx</link><pubDate>Tue, 09 Jun 2009 18:16:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42661</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42661.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42661</wfw:commentRss><description>&lt;p&gt;Shouldn&amp;#39;t need to do that - it should just auto-populate using default values.&lt;/p&gt;</description></item><item><title>Re: how to have user input pre-populate existing and additional fields?</title><link>https://www.infopathdev.com:443/forums/thread/42654.aspx</link><pubDate>Tue, 09 Jun 2009 16:04:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42654</guid><dc:creator>mariaworld</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42654.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42654</wfw:commentRss><description>&lt;p&gt;The rest of the fields would not populate at all if I put my rules on the Repeating Table control. What I did instead was add a Button next to asset tag field, and am calling it a &amp;#39;lookup button&amp;#39;. Attached to that button control are my rules to populate the additional fields. When a user adds a new line in the repeating table, the button control comes with, so a query can then be performed on that second line of input and populate the 2nd line&amp;#39;s additional fields.&lt;/p&gt;&lt;p&gt;M &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: how to have user input pre-populate existing and additional fields?</title><link>https://www.infopathdev.com:443/forums/thread/42547.aspx</link><pubDate>Fri, 05 Jun 2009 19:46:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42547</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42547.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42547</wfw:commentRss><description>&lt;p&gt;Hmm, perhaps instead of using rules, set the default values of the fields in the repeating table to the same way your rules were set.&amp;nbsp; This accomplishes the same thing except that the initial action isn&amp;#39;t pushing the data to the other fields via rules.&amp;nbsp; Instead, if you set them to default to their respective values using the same filters, then upon selecting an asset within that row, the rest of the fields should populate accordingly.&lt;/p&gt;</description></item><item><title>Re: how to have user input pre-populate existing and additional fields?</title><link>https://www.infopathdev.com:443/forums/thread/42535.aspx</link><pubDate>Fri, 05 Jun 2009 15:53:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42535</guid><dc:creator>mariaworld</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42535.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42535</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;This is awesome. Thanks! I think I just reversed the two values in the filter yesterday or something, while I was testing. That was exactly what I was hoping for.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Next question...&amp;nbsp; User can now successfully enter an asset tag, and a machines serial#, etc now are prepopulated. I have that section set as a repeating table. So, if user wants to enter Asset #2, the data sitll prepopulates, but for this second entry, the filter is not being applied, and again, infopath is pulling the first row of data in my sharepoint list, not the filtered information for that specific asset # that is entered.&lt;/p&gt;&lt;p&gt;&amp;nbsp;How do I get my repeating table to understand that every new row must follow the same rules as the first inputed row? I monkeyed iwth the properties of the repeating table, and added my rules there, but then nothing prepopulated at all.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;M &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: how to have user input pre-populate existing and additional fields?</title><link>https://www.infopathdev.com:443/forums/thread/42530.aspx</link><pubDate>Fri, 05 Jun 2009 15:10:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42530</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42530.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42530</wfw:commentRss><description>&lt;p&gt;You&amp;#39;re just missing the filter part.&amp;nbsp; You have to say &amp;quot;set mymodel to datasourcemodel where datasourceasset = myasset.&amp;quot;&amp;nbsp; Do that for each one.&amp;nbsp; That&amp;#39;s how you specify which record to use.&amp;nbsp; It&amp;#39;s critical that the asset# is unique...&lt;/p&gt;
&lt;p&gt;Oh, and you do that when you&amp;#39;re in the screen where you choose the &amp;quot;set mymodel to datasourcemodel.&amp;quot;&amp;nbsp; There should be a filter button at the bottom left of the screen when you&amp;#39;re selecting the fields from your secondary data connection.&lt;/p&gt;</description></item><item><title>how to have user input pre-populate existing and additional fields?</title><link>https://www.infopathdev.com:443/forums/thread/42502.aspx</link><pubDate>Fri, 05 Jun 2009 00:01:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42502</guid><dc:creator>mariaworld</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42502.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42502</wfw:commentRss><description>&lt;p class="MsoNormal"&gt;&lt;span class="value"&gt;I have been charged with creating an
online form that will be accessible on sharepoint. The form is basically an asset
inventory form. Large numbers of techs will be manually verifying existing old
database information manually by completing this new form online.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="value"&gt;I have a copy of the old database in the form of an Excel
dump. Ive uploaded the Excel file as a separate list in sharepoint. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="value"&gt;I want the following:&lt;/span&gt;&lt;br /&gt;
&lt;span class="value"&gt;I have a set of fields (asset tag, serial #, model#, etc.). I
want to say that if user enters an asset # that already exists in the
sharepoint list, then prepopulate my form&amp;#39;s serial#, model# fields, with the values
we already know.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="value"&gt;Simple enough or so I thought.... &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span class="value"&gt;I created a Rule on my asset# field in my
infopath form. &lt;/span&gt;&lt;br /&gt;
&lt;span class="value"&gt;It says if myasset# = datasourceasset#, then fire more rules:
a) set mymodel to datasourcemodel, b) set myserial# to datasource#, etc. &lt;/span&gt;(Nested rules, all attached to the main asset# field.)&lt;br /&gt;
&lt;br /&gt;
&lt;span class="value"&gt;When I run the form it does prepopulate information in the
addl fields, but it picks the first row of data from the existing sharepoint
list, not the data to the specific asset# that was entered by the user.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="value"&gt;What I really want to say is:&lt;/span&gt;&lt;br /&gt;
&lt;span class="value"&gt;myserial# field should equal datasourceserial# where
myassetID equals datasourceassetID.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="value"&gt;I know I can create a Filter on a Value in a Rule, but Im not
sure how to build the right filter. In my mind, I would like a Where clause, as
in SQL, but I dont know the corresponding function using InfoPath.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Im no programmer, so an easy solution would be welcomed! &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>