InfoPath Services Form Autogenerate Row Number - InfoPath Dev Sign in | Join | Help in Newbie Questions InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Newbie Questions » InfoPath Services Form Autogenerate Row Number InfoPath Services Form Autogenerate Row Number Last post 04-22-2009 09:53 AM by mcgovern001. 2 replies. Page 1 of 1 (3 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 04-22-2009 07:06 AM mcgovern001 Joined on 04-22-2009 Posts 2 InfoPath Services Form Autogenerate Row Number Reply Contact Hello, I have inserted a Repeating Table in an InfoPath (2007) form that I am rendering on SharePoint 2007 as a web page. I would like to auto generate row numbers. position() is not compatible with InfoPath services. Does any one know an xpath formula I can use? I don't have access to a programing code editor. Thanks, Brian 04-22-2009 07:54 AM In reply to Anuma Joined on 07-20-2005 India Posts 525 Re: InfoPath Services Form Autogenerate Row Number Mark as Not AnswerMark as Answer... Reply Contact Hi, Depending on what you're trying to acheve you can use the count function instead: count(preceding-sibling::my:<RepeatingGroupNodeName>) + 1 For example, this can be used to give a repeating table alternating-color rows Anuma Chinthapalli /http://www.GGKTech.com 04-22-2009 09:53 AM In reply to mcgovern001 Joined on 04-22-2009 Posts 2 Re: InfoPath Services Form Autogenerate Row Number Mark as Not AnswerMark as Answer... Reply Contact Thank you. Brian Page 1 of 1 (3 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hello, I have inserted a Repeating Table in an InfoPath (2007) form that I am rendering on SharePoint 2007 as a web page. I would like to auto generate row numbers. position() is not compatible with InfoPath services. Does any one know an xpath formula I can use? I don't have access to a programing code editor.
Thanks, Brian
Hi,
Depending on what you're trying to acheve you can use the count function instead:
count(preceding-sibling::my:<RepeatingGroupNodeName>) + 1
For example, this can be used to give a repeating table alternating-color rows
Thank you.
Brian