<?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: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81852.aspx</link><pubDate>Tue, 21 Aug 2012 15:15:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81852</guid><dc:creator>ebonymb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81852.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81852</wfw:commentRss><description>&lt;p&gt;To sum up... The Created by query was retreiving data from the library on submit.&amp;nbsp; The problem was, the library default view was set to show items where Type = mdebit, and Created by = [Me].&amp;nbsp; The default view in the library was only supposed to show users those items submitted by themselves and were mdebit requests.&amp;nbsp; Phone_Address type were shown in a separate public view but the data was not a part of the default view.&amp;nbsp; What was happening was the query was retreiving the data, but only from the default view.&amp;nbsp; So until there was an item in the MDebit view, there was no data in Created by.&amp;nbsp; To resolve, I have set the default to My Documents, which displays all data, no matter the request type.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81851.aspx</link><pubDate>Tue, 21 Aug 2012 14:51:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81851</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81851.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81851</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m still kind of confused - but it sounds like you have things worked out?&lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81849.aspx</link><pubDate>Tue, 21 Aug 2012 13:46:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81849</guid><dc:creator>ebonymb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81849.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81849</wfw:commentRss><description>&lt;p&gt;Okay, doesn&amp;#39;t look like I can query a view but... everything works without error if I change the default view to My Documents.&lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81848.aspx</link><pubDate>Tue, 21 Aug 2012 13:40:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81848</guid><dc:creator>ebonymb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81848.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81848</wfw:commentRss><description>&lt;p&gt;That theory definitely makes sense.&amp;nbsp; So the default view in the library is to show only those items submitted by [Me] and Type&amp;nbsp;= mdebit.&amp;nbsp; There are currently no items in the default view.&amp;nbsp; The first form I submitted is type=Phone_Address.&amp;nbsp; The query doesn&amp;#39;t work but it does submit to the library.&amp;nbsp; When I submit type=mdebit, the query works, as usual.&amp;nbsp; Then I submit type=Phone_Address and now the query works.&amp;nbsp;So maybe the problem is that there has to be something in the default view first before the query works.&amp;nbsp; Since I have shared views for both mdebit and Phone_Address can I create a query for the mdebit view and a query for the Phone_Address view?&lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81846.aspx</link><pubDate>Tue, 21 Aug 2012 13:30:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81846</guid><dc:creator>ebonymb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81846.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81846</wfw:commentRss><description>&lt;p&gt;Thanks Hilary.&amp;nbsp; Here you go.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81834.aspx</link><pubDate>Mon, 20 Aug 2012 23:38:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81834</guid><dc:creator>davidstone789</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81834.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81834</wfw:commentRss><description>What you&amp;#39;ve said here points to the data you&amp;#39;re pulling back from the server, and not from the actual infopath form itself.

The reason I say that is because it works the first few times, and you&amp;#39;ve compared the code from when it works and when it stop working, and it&amp;#39;s all the same... so the *only* thing which has changed is the data, right?

You can test out the theory by removing all your entries from the document library - the form will probably start working again.

If that happens, use it till it breaks again, and then look at the very first entry in your default view on the library. There&amp;#39;s probably something wrong with it, so the next trick will be to find out why.

One possibility is that another user has an old version of the template and is submitting bad data.</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81831.aspx</link><pubDate>Mon, 20 Aug 2012 22:10:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81831</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81831.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81831</wfw:commentRss><description>&lt;p&gt;Feel free to attach your template to a reply under the Options tab if you&amp;#39;d like me to take a quick look at your logic.&lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81829.aspx</link><pubDate>Mon, 20 Aug 2012 22:02:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81829</guid><dc:creator>ebonymb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81829</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve been all over this form and i&amp;#39;ve confirmed it is not the character count in the field.&amp;nbsp; For some reason, the Created by query is just not stable.&amp;nbsp; I don&amp;#39;t know if the form is corrupt or what but now when the type = mdebit, the Created by query is not working.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81785.aspx</link><pubDate>Fri, 17 Aug 2012 21:17:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81785</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81785.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81785</wfw:commentRss><description>&lt;p&gt;Well, to be clear, if you set the field&amp;#39;s value &lt;em&gt;after&lt;/em&gt; you submit the XML to SharePoint, the next time you open it, the value won&amp;#39;t be what you&amp;#39;ve just set it to.... &lt;/p&gt;
&lt;p&gt;But you should be able to set the field to the value of itself concatenated with your other field - concat(&lt;strong&gt;Select Your Field Here&lt;/strong&gt;, @CreatedBy)&lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81784.aspx</link><pubDate>Fri, 17 Aug 2012 21:08:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81784</guid><dc:creator>ebonymb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81784</wfw:commentRss><description>&lt;p&gt;Created by is there, but it only queries on submit.&amp;nbsp; So although the function is in the formula, it shows up blank because the query has to happen after the form is submitted to the library&lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81783.aspx</link><pubDate>Fri, 17 Aug 2012 21:06:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81783</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81783</wfw:commentRss><description>&lt;p&gt;Isn&amp;#39;t @CreatedBy already in your formula? I&amp;#39;m confused.&lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81782.aspx</link><pubDate>Fri, 17 Aug 2012 21:03:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81782</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81782.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81782</wfw:commentRss><description>&lt;p&gt;Do you know how many characters you can have in your field that you are setting?&lt;/p&gt;
&lt;p&gt;The formula would change to be:&lt;/p&gt;
&lt;p&gt;substring(&lt;strong&gt;Your Current Formula Here&lt;/strong&gt;, 1, &lt;strong&gt;Total Length Here&lt;/strong&gt;)&lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81781.aspx</link><pubDate>Fri, 17 Aug 2012 21:02:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81781</guid><dc:creator>ebonymb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81781.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81781</wfw:commentRss><description>&lt;p&gt;I came up with a work around to populate the hidden field before the submit but I would still like to add on the @Created by field which is queried on submit.&amp;nbsp; Is there a way I can attach @Created by to the end of the formula?&lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81780.aspx</link><pubDate>Fri, 17 Aug 2012 20:43:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81780</guid><dc:creator>ebonymb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81780.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81780</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m not well versed on the substring.&amp;nbsp; What I have is just a copy and paste from what someone else gave me.&amp;nbsp; how should i incorporate it into the formula?&lt;/p&gt;</description></item><item><title>Re: Problem with Receive Data Query not working for condition</title><link>https://www.infopathdev.com:443/forums/thread/81779.aspx</link><pubDate>Fri, 17 Aug 2012 20:38:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81779</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81779.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81779</wfw:commentRss><description>&lt;p&gt;You could use a substring formula around your concat to truncate to a specific length.&lt;/p&gt;</description></item></channel></rss>