<?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: Autonumbering in Infopath</title><link>https://www.infopathdev.com:443/forums/thread/8825.aspx</link><pubDate>Wed, 19 Apr 2006 20:44:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8825</guid><dc:creator>rjaynes</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8825.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8825</wfw:commentRss><description>I'm just a beginner with InfoPath, but here's what I did to get my trouble ticket number field to increment:&lt;br /&gt;My main data table in Access has a primary key field (my ticket ID number).&lt;br /&gt;I have a textbox bound to this field in my InfoPath form.  (With my main data table set up as the primary data source.)&lt;br /&gt;I have a secondary data source set to query data that is also linked to this same table, and I am pulling only the ticket ID number from it.&lt;br /&gt;In the textbox properties, I have a formula set up as follows:&lt;br /&gt;max(@Ticket) + 1&lt;br /&gt;The "@Ticket" is the ticket ID field from the secondary data source.&lt;br /&gt;I have left the "Update this value when the result of the formular is recalculated" checkbox empty.&lt;br /&gt;Now, when I go to preview or actually run the ticket, my Ticket # field displays a new ticket number, because it is adding 1 to the highest number is found to already be in the table.&lt;br /&gt;The ONLY catch I've run into is that if there is nothing already in the database, I get an invalid data error because there is not even a zero in that field technically, so InfoPath doesn't know how to increment nothing by 1.  To get around this I have added the first ticket (as a test ticket) and that solved my problem temporarily, but I haven't figured out how get around that the "right way".  I would assume if you wanted to start with a specific number you could just directly add one into the database, unless it already existed then it shouldn't be a problem.  Hope I have helped and have not been totally confusing.  If anybody else knows of any problems with my setup please let me know because I am currently in the testing portion of my design.  Thanks a bunch!&lt;br /&gt;Ryan&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Autonumbering in Infopath</title><link>https://www.infopathdev.com:443/forums/thread/8824.aspx</link><pubDate>Wed, 18 Jan 2006 02:40:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:8824</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/8824.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=8824</wfw:commentRss><description>Please see this thread:&lt;a target="_blank" href=http://infopathdev.com/forums/topic.asp?TOPIC_ID=1558&gt;http://infopathdev.com/forums/topic.asp?TOPIC_ID=1558&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Autonumbering in Infopath</title><link>https://www.infopathdev.com:443/forums/thread/5274.aspx</link><pubDate>Mon, 16 Jan 2006 21:02:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5274</guid><dc:creator>lisaspencer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5274.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5274</wfw:commentRss><description>Hi! I am trying to create an automatic number field that starts at 531. It's for a ticket support form. I need to program a text box field to increment everytime a new form is created, otherwise if a ticket is just opened not to do anything. I am using VBScript. The form is connected to an Access Database. Thanks,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Lisa Spencer&lt;br /&gt;Programmer/Office Specialist</description></item></channel></rss>