<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Create new item auto populate fields with last item created in share point list</title><link>https://www.infopathdev.com:443/forums/thread/120576.aspx</link><pubDate>Tue, 12 Mar 2019 14:51:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120576</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120576.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=120576</wfw:commentRss><description>Well, if you modify your data connection to sort by ID desc, you wouldn&amp;#39;t have to use a filter - without a filter, your XPath will just return the first item in the list. :)  This blog post has info on using XPath filters - maybe it will help you? http://codelesssharepointinfopath.com/infopath-using-the-filter-option/</description></item><item><title>Re: Create new item auto populate fields with last item created in share point list</title><link>https://www.infopathdev.com:443/forums/thread/120573.aspx</link><pubDate>Tue, 12 Mar 2019 04:35:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120573</guid><dc:creator>eduva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120573.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=120573</wfw:commentRss><description>Hey, I am sorry, but I am still struggling with this. Can you please share some good manuals/videos I can watch for this?</description></item><item><title>Re: Create new item auto populate fields with last item created in share point list</title><link>https://www.infopathdev.com:443/forums/thread/120555.aspx</link><pubDate>Fri, 08 Mar 2019 17:22:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120555</guid><dc:creator>eduva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120555.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=120555</wfw:commentRss><description>Hi, thanks for answering! I dont a sample form.

The list is in the company site and I dont have permissions to share it to outside the company. I truly cant find some good guides for beginners, from the creation of the data connection,  to filtering the connection, to filling the current item fields.

I finally found how to choose the data connection I created in the &amp;quot;Fx - Insert formula&amp;quot; option of each field of the current item. Now, how do I choose the max id of the list and use that as a filter to query the list and get the data and automatically fill the fields I chose?

As long as I get one clear and detailed example, I am sure I can manage.

Thanks</description></item><item><title>Re: Create new item auto populate fields with last item created in share point list</title><link>https://www.infopathdev.com:443/forums/thread/120553.aspx</link><pubDate>Fri, 08 Mar 2019 16:06:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120553</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120553.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=120553</wfw:commentRss><description>Do you have a sample form with a data connection that queries the list? Attach it to the Options tab in a reply &amp;amp; I can give you a hand setting up a few approaches. You&amp;#39;ll probably find a sample helpful. :)</description></item><item><title>Create new item auto populate fields with last item created in share point list</title><link>https://www.infopathdev.com:443/forums/thread/120548.aspx</link><pubDate>Fri, 08 Mar 2019 00:38:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:120548</guid><dc:creator>eduva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/120548.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=120548</wfw:commentRss><description>Hi, I am new to this forum so I don’t know if this is the right place to post this. I have a form connected to a sharepoint list and a submit button that creates new items to that list. I need a way to auto fill some fields of the form with the information of the last item created in the same list the form is based on. I know absolutely nothing of how to do that. I have seen countless posts about creating a secondary connection and use that with a form load rule that will fill the fields I chose. I have seen suggestions of choosing the max id of the list to filter the query. But I simply don’t know how. I read about how after creating a data connection to the sharepoint list you gotta go the field properties, the Fx (formulas) option and then choose the field of the the data connection I created but I can’t find those fields, I can’t choose another connection all I see are the fields of the current item I am on. 

Can I get some detailed explanation of how to get the max id of the same list the form is loaded into, and automatically fill the fields I chose? It doesn’t even have to be automatically, if there is an extra step of pressing a button to do it I would gladly accept it. Even if I can’t get the max ID automatically I  have absolutely no problems in having the user go to the sharepoint list, choose the ID of the item they just created, and write it down on a field in the form to use as a filter to query the data of that item ID. 

Thanks in advance</description></item></channel></rss>