<?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 do I disable errors in textboxes before the user gets to enter data in them</title><link>https://www.infopathdev.com:443/forums/thread/47713.aspx</link><pubDate>Thu, 08 Oct 2009 13:25:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47713</guid><dc:creator>Kumaran Pandourangan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47713.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47713</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;If the secretary is the only person who will be entering the data then you can calculate the next record number by yourself and show them before saving it to the db.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;So the auto increment number in access is same as the one you generated in InfoPath.&lt;/p&gt;
&lt;p&gt;But if there are more than one person saving record in your access db, then you better stay with your option.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Kumaran&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How do I disable errors in textboxes before the user gets to enter data in them</title><link>https://www.infopathdev.com:443/forums/thread/47692.aspx</link><pubDate>Thu, 08 Oct 2009 05:12:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47692</guid><dc:creator>Ian Dawson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47692.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47692</wfw:commentRss><description>&lt;p&gt;Hello Kumaran,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;With question A,&amp;nbsp; I will be creating records, and the key field for the record, is the automatically generated number I am referring to.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I have kinda solved it by using the auto increment in MS Access.&lt;/p&gt;
&lt;p&gt;When the secretary enters the record, and then saves it. Then, and only then, is the record number field value created, I believe.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Maybe, what I should be asking is how can I rpeview that last record and get its record number, then add that to the record myself. &lt;/p&gt;
&lt;p&gt;But then, if the user cancels the request. The number is lost.&amp;nbsp; Maybe just staying with what I have done, may be the best option.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;In respect to the second question, the date will always be todays date, the date the record was created. So that issue was resolved also.&lt;/p&gt;
&lt;p&gt;Finally, if you know another way around for the first question and what I say above, that would be great.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Ian&lt;/p&gt;</description></item><item><title>Re: How do I disable errors in textboxes before the user gets to enter data in them</title><link>https://www.infopathdev.com:443/forums/thread/47647.aspx</link><pubDate>Wed, 07 Oct 2009 03:33:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47647</guid><dc:creator>Kumaran Pandourangan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47647.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47647</wfw:commentRss><description>&lt;p&gt;Hi Ian,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;A) In order to have an automatic number increment, you have to use &amp;quot;Expression Box&amp;quot; control.&amp;nbsp; Once you place the &amp;quot;Expression Box&amp;quot; control in your form,&lt;/p&gt;
&lt;p&gt;go to the properties of the control&amp;nbsp; and type &amp;quot;position()&amp;quot; in XPath text box.&amp;nbsp; In the Format as drop down, make sure you have selected &amp;quot;Whole Number&amp;quot;&lt;/p&gt;
&lt;p&gt;B) For the date field, when you use the date picker control, to make sure the date is entered, you can select the check box which says &amp;quot;Cannot be blank&amp;quot; in&lt;/p&gt;
&lt;p&gt;the properties.&amp;nbsp; To populate default value in the date field, you can use &amp;quot;today()&amp;quot; or &amp;quot;now()&amp;quot; date function in the default value property.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Regards&lt;/p&gt;
&lt;p&gt;Kumaran&lt;/p&gt;</description></item><item><title>How do I disable errors in textboxes before the user gets to enter data in them</title><link>https://www.infopathdev.com:443/forums/thread/47616.aspx</link><pubDate>Tue, 06 Oct 2009 04:29:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47616</guid><dc:creator>Ian Dawson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47616.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47616</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m back!!!!!&lt;/p&gt;
&lt;p&gt;I have a&amp;nbsp;issue with a new simple InfoPath form. &lt;/p&gt;
&lt;p&gt;What I have is, a form with 8 fields :-&amp;nbsp;&lt;/p&gt;
&lt;p&gt;record number,&amp;nbsp; record date,&amp;nbsp;first name,&amp;nbsp;last name, telephone, Priority (H,M,L), Problem.&amp;nbsp; &lt;br /&gt;I am using a local MS Access database.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Record number&amp;nbsp;is the key field and cannot be blank. &lt;/p&gt;
&lt;p&gt;How can I&lt;/p&gt;
&lt;p&gt;A)&amp;nbsp;1. ensure that I have an automatic incremented number added to the document number field.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;OR,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;2. Make sure the user does not forget to enter a value in the document number field. The user will key in this value to find the record.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In the first case, I&amp;nbsp;also want to be able to bring up a warning message, when the user leaves the field without entering a value. Not when they try to save the record.&lt;/p&gt;
&lt;p&gt;B)&amp;nbsp;&amp;nbsp;Ensure that a data is entered into the date field, Is there some function I can use to automatically enter a data, not necessarily TODAY&amp;#39;s date.&lt;/p&gt;
&lt;p&gt;All response are most happily welcomed.&lt;/p&gt;
&lt;p&gt;Regards &lt;br /&gt;Ian&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>