Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Other Office > Infopath
|
Infopath Programming and automation discussions only please. :)
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Infopath section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 20th, 2007, 02:10 PM
Registered User
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Auto increment control / retrieving data

I am designing an infopath form:
1)How i add a text box that automaticaly increments to the next number when the form is open.

2)How do i retrieve information from an existing form to the new form.

Any help would help.


 
Old April 12th, 2007, 07:52 AM
Registered User
 
Join Date: Apr 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please help, I have the same problem!

 
Old May 2nd, 2007, 04:39 AM
Registered User
 
Join Date: May 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi dupathy
You can increment text box value as follows:
1. Set default value for a text box as 0.
2. Go to Tools->FormOptions
    Click on OpenAndSave tab
3. Click on rule button and add the action as follows.

  a. select Set Field's value from the drop down
  b. select the text field for field text box and
  c. for value field add as "text field + 1"
and close all the dialog boxes.

Hope this helps you





chandu





Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto increment prad_a MySQL 3 April 7th, 2007 05:47 AM
How to auto increment ? Shawn Mohan SQL Server 2000 2 June 22nd, 2006 03:00 AM
How to auto increment? Shawn Mohan ASP.NET 2.0 Basics 6 June 20th, 2006 10:36 PM
Auto-increment using VBScript CraigKornacki VB How-To 1 April 6th, 2004 02:17 PM
auto increment? hosefo81 PHP Databases 1 February 2nd, 2004 03:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.