<?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: Clear query field in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/48592.aspx</link><pubDate>Wed, 04 Nov 2009 01:35:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48592</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48592.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48592</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I think I have an Idea of how to fix this but I can&amp;#39;t find a &amp;quot;Clear all Fields&amp;quot; action on buttons I insert into the form.&amp;nbsp; I see &amp;quot;Submit&amp;quot; &amp;quot;Refresh&amp;quot; and &amp;quot;Rules and Custom Code.&amp;quot; How exactly are you accomplishing this &amp;quot;Clear all Fields&amp;quot; behavior?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Clear query field in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/48576.aspx</link><pubDate>Tue, 03 Nov 2009 18:53:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48576</guid><dc:creator>tony01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48576.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48576</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Some one can help with this issue here.&lt;/p&gt;&lt;p&gt;Infopath is a PAIN. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Clear query field in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/48544.aspx</link><pubDate>Tue, 03 Nov 2009 13:26:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48544</guid><dc:creator>tony01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48544.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48544</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Jimmy:&lt;/p&gt;&lt;p&gt;Sorry, I don&amp;#39;t know where to put the Null or spaces to clear a query field ( Request no.)&lt;/p&gt;&lt;p&gt;I have a button &amp;quot;New Record&amp;quot;&amp;nbsp; and the action of this button is to CLEAR all fields from the form but the query field can&amp;#39;t clear.&lt;/p&gt;&lt;p&gt;if I go to the properties of this button I can&amp;#39;t put any rules or spaces or nulls.&lt;/p&gt;&lt;p&gt;If I change the action of the button for example to &amp;quot;Rules and Custom Code&amp;quot; the button&lt;/p&gt;&lt;p&gt;Can&amp;#39;t work anymore clearing all the fields of the form. So, How can CLEAR all&lt;/p&gt;&lt;p&gt;the fields of my forms including the query fields, in my case I have just one (Request no.).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp; for your help. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Clear query field in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/48533.aspx</link><pubDate>Tue, 03 Nov 2009 03:20:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48533</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48533.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48533</wfw:commentRss><description>Could you clarify what you mean by &amp;quot;It doesn&amp;#39;t accept the null value&amp;quot;?&amp;nbsp; What precisely is &amp;quot;it?&amp;quot;&amp;nbsp; You should be able to set any field to blank, even if it&amp;#39;s numeric and has the &amp;quot;Cannot be blank&amp;quot; requirement.&lt;br /&gt;</description></item><item><title>Re: Clear query field in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/48528.aspx</link><pubDate>Mon, 02 Nov 2009 22:06:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48528</guid><dc:creator>tony01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48528</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Clayton:&lt;/p&gt;&lt;p&gt;Thanks for reply, but I added a rule on the New Record button to set the query field Request no. to Null but It doesn&amp;#39;t&lt;/p&gt;&lt;p&gt;accept the null value because the field is a numeric.&lt;/p&gt;&lt;p&gt;Any other ideas.&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;&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></item><item><title>Re: Clear query field in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/48526.aspx</link><pubDate>Mon, 02 Nov 2009 21:55:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48526</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48526.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48526</wfw:commentRss><description>&lt;p&gt;Set the query field value to null as the first action in your New Record button?&lt;/p&gt;</description></item><item><title>Clear query field in infopath form</title><link>https://www.infopathdev.com:443/forums/thread/48524.aspx</link><pubDate>Mon, 02 Nov 2009 21:50:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:48524</guid><dc:creator>tony01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/48524.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=48524</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi everybody:&lt;/p&gt;&lt;p&gt;I have a form with two parts:&lt;/p&gt;&lt;p&gt;First part contains a query field Request No., and the second part contains dataFields from Main data source, Employee Id, &lt;/p&gt;&lt;p&gt;Employee First Name, Employee Last Name , ... etc.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The FORM:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;From Test&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; (&lt;b&gt;New Record button&lt;/b&gt;) &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;b&gt;&lt;i&gt;Request No.&amp;nbsp; 21&lt;/i&gt;&lt;/b&gt;_______ &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&lt;b&gt;Request Search button&lt;/b&gt;) &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Employee Id : ______&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Employee First Name: _________&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; Employee Last Name: ___________&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;u&gt;Query Field:&lt;/u&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;The form has one query field &amp;quot;&lt;b&gt;ReqNo&lt;/b&gt;&amp;quot; from a MAIN data source (MS Access db )&lt;/p&gt;&lt;p&gt;Below are the query fields from Main data source:&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;-myFields&lt;/p&gt;&lt;p&gt;&amp;nbsp; -&lt;b&gt;queryFields&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; -q:TblAccessCardReq&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :&lt;b&gt;ReqNo&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :EmplId&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;u&gt;DataFields:&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;-myFields&lt;/p&gt;&lt;p&gt;&amp;nbsp; -&lt;b&gt;DataFields&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; -d:TblRequest&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; :ReqNo&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :EmplId&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :EmplLastName&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :EmplFirstName&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; .&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;My Problem:&lt;/b&gt;&lt;/u&gt;&lt;/p&gt;&lt;p&gt;When I query the form with a request no. for example 21, I get all the information in the form, It works fine,&lt;/p&gt;&lt;p&gt;then &amp;nbsp; I click the &amp;quot;New Record&amp;quot; button to clear the &lt;b&gt;whole form&lt;/b&gt;, but the query field request number remains to the value &lt;br /&gt;&lt;/p&gt;&lt;p&gt;that previously I used, in this example I use the value 21. In other words the &amp;quot;New Record&amp;quot; can&amp;#39;t clear my query field.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;b&gt;How can I clear the query fields in the form with the &amp;quot;New Record&amp;quot; button?&lt;/b&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;&lt;i&gt;&lt;b&gt; I am doing something wrong?&lt;br /&gt;&lt;/b&gt;&lt;/i&gt;&lt;/p&gt;&lt;p&gt;Please Help.&lt;/p&gt;&lt;p&gt; Thanks a lot.&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;&lt;p&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;</description></item></channel></rss>