<?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: Populating problems using Access database</title><link>https://www.infopathdev.com:443/forums/thread/3085.aspx</link><pubDate>Fri, 15 Sep 2006 19:19:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3085</guid><dc:creator>cobbtrains</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3085.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3085</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Greg Collins&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Are you positive that current() is pointing to a value that should match with @Access_record, and that it shouldn't perhaps be something more like 'current()/@attribute' or 'current()/Element' or something?&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt;I thought I had the pointer pointing right but I don't. As an experiment, in preview mode, I selected the record I want in the drop down, I expected the record to be given back to me when I asked for it. It still gave me the last record. I put in the rule that it will be record[current()]. Now that I think about it, itsn't the current() going to give you the last record. Can I force it to give the record that I chose?</description></item><item><title>Re: Populating problems using Access database</title><link>https://www.infopathdev.com:443/forums/thread/3084.aspx</link><pubDate>Tue, 05 Sep 2006 21:44:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3084</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3084.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3084</wfw:commentRss><description>Are you positive that current() is pointing to a value that should match with @Access_record, and that it shouldn't perhaps be something more like 'current()/@attribute' or 'current()/Element' or something?</description></item><item><title>Re: Populating problems using Access database</title><link>https://www.infopathdev.com:443/forums/thread/3083.aspx</link><pubDate>Tue, 05 Sep 2006 18:49:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3083</guid><dc:creator>cobbtrains</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3083.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3083</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Greg Collins&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Rules are run when a field value changes. Only the rules on the field that changes are run. Thus your rules should be placed on the field that you expect to change.&lt;br /&gt;&lt;br /&gt;Access_field[@Access_record=current()] will only provide a value if Access_field itself contains a value... otherwise you will need something more like Access_field[@Access_record=current()]/Field_With_Value&lt;br /&gt;&lt;br /&gt;The correct XPath to use will depend entirely on the data source you have and where exactly current() points to.&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt; &lt;br /&gt;When I modified my rules to "otherwise you will need something more like Access_field[@Access_record=current()]/Field_With_Value", I get NaN when I run InfoPath. Am I missing something? My fields will not provide a value. I know that my Xpath is pointing to the right data source; however, when I force it to give me the record number I want, it gives me the last record. What am I doing wrong?&lt;br /&gt;</description></item><item><title>Re: Populating problems using Access database</title><link>https://www.infopathdev.com:443/forums/thread/3082.aspx</link><pubDate>Wed, 30 Aug 2006 20:15:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3082</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3082.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3082</wfw:commentRss><description>Rules are run when a field value changes. Only the rules on the field that changes are run. Thus your rules should be placed on the field that you expect to change.&lt;br /&gt;&lt;br /&gt;Access_field[@Access_record=current()] will only provide a value if Access_field itself contains a value... otherwise you will need something more like Access_field[@Access_record=current()]/Field_With_Value&lt;br /&gt;&lt;br /&gt;The correct XPath to use will depend entirely on the data source you have and where exactly current() points to.</description></item><item><title>Re: Populating problems using Access database</title><link>https://www.infopathdev.com:443/forums/thread/3081.aspx</link><pubDate>Tue, 29 Aug 2006 17:51:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3081</guid><dc:creator>cobbtrains</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3081.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3081</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;&lt;i&gt;Originally posted by Greg Collins&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;You need to use the current() function... check out the following articles and example forms:&lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.infopathdev.com/search.aspx?s=current()&lt;br /&gt;' target='_blank' title='http://www.infopathdev.com/search.aspx?s=current()&lt;br /&gt;'&lt;a target="_blank" href=http://www.infopathdev.com/search.aspx?s=current&gt;http://www.infopathdev.com/search.aspx?s=current&lt;/a&gt;()&lt;/a&gt;&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;&lt;br /&gt;&lt;br /&gt;Thanks for responding.&lt;br /&gt;&lt;br /&gt;I spent a good portion of my time going throught these tutorials, workarounds, and examples. I only found one article that pertains to my problem, "Automatically Populate Fields from a Drop-Down Selection".&lt;br /&gt;&lt;br /&gt;I am using the rule functions since I do not know any codes. I set up rules in my drop-down box, the individual fields, and both. Where do I set-up my rules? I get the same results no matter how I set my rules. The rule I'm using is this, InfoPath_field=Access_field[@Access_record=current()].&lt;br /&gt;&lt;br /&gt;I have use the repeating section and the non-repeating section. I get the same results everytime.&lt;br /&gt;&lt;br /&gt;I have to use the company's .adp Access format. The field characters are nvarchar and text. The record is the only integer field. Is this still feasible to automatically populate my fields?</description></item><item><title>Re: Populating problems using Access database</title><link>https://www.infopathdev.com:443/forums/thread/3080.aspx</link><pubDate>Fri, 25 Aug 2006 17:30:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3080</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3080.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3080</wfw:commentRss><description>You need to use the current() function... check out the following articles and example forms:&lt;br /&gt;&lt;br /&gt;&lt;a href='http://www.infopathdev.com/search.aspx?s=current()' target='_blank' title='http://www.infopathdev.com/search.aspx?s=current()'&lt;a target="_blank" href=http://www.infopathdev.com/search.aspx?s=current&gt;http://www.infopathdev.com/search.aspx?s=current&lt;/a&gt;()&lt;/a&gt;</description></item><item><title>Populating problems using Access database</title><link>https://www.infopathdev.com:443/forums/thread/1517.aspx</link><pubDate>Wed, 23 Aug 2006 21:13:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1517</guid><dc:creator>cobbtrains</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1517.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1517</wfw:commentRss><description>I had this problem before in your forum; however, the solution given me didn't work. Do you have any other thoughts or did I misinterpreted your solution?&lt;br /&gt;&lt;br /&gt;I have a dropdown list of records that looks up an Access database. I used rules to automatically populate my fields within the repeating table once the record is selected . I created a filter in the repeating table. My filter is as follows:&lt;br /&gt;Box 1                Box 2                    Box 3            Box 4&lt;br /&gt;Name_Text_Box         is equal to      Assigned_To_List_Box      Or&lt;br /&gt;Assigned_To_List_Box  contains         Show All&lt;br /&gt;&lt;br /&gt;When I select the record I want, it only populates fields with the last Access record. How can I force it to populate with the record I want? I should tell you at no time will a user add data to the Access database.</description></item></channel></rss>