Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / June 2006

Tip: Looking for answers? Try searching our database.

Position() returns what?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vikram Shinde - 31 May 2006 11:50 GMT
position() function returns 1 always?
may be i dont know how to use it?
Please help
Anuma - 31 May 2006 14:33 GMT
Hi,
Please Check this link
http://www.infopathdev.com/howto/tutorials/default.aspx?i=d663d7df90e94e65abb026
32966e8127


Hope this helps.
Signature

Anuma
http://www.autonomysystems.com

> position() function returns 1 always?
> may be i dont know how to use it?
> Please help
Scott Roberts [MSFT] - 07 Jun 2006 16:14 GMT
The position function returns the position of the current XML node in the
current context.  If you are using the postion function on a node that
doesn't repeat, it will always return 1. The position function is most
useful for repeating items.

Try this.  Create a repeating table.  Replace the Text Box in the first cell
with an Expression box. Then, set the value of the Expression Box to
position() using the formula dialog.  Preview the form and insert some rows.
You'll see that the number increments each time you insert a row.

If you need more information. Let me know.

- Scott

> position() function returns 1 always?
> may be i dont know how to use it?
> Please help
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.