Autonumeric Textbox - 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 » Autonumeric Textbox Autonumeric Textbox Last post 11-19-2008 06:30 AM by katze. 7 replies. Page 1 of 1 (8 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 11-19-2008 05:14 AM katze Joined on 11-19-2008 Posts 9 Autonumeric Textbox Reply Contact Hi there i have a problem with the autonumeric textbox in a repeating table. How can i make it? i try with this "count(./preceding-sibling::my:Row) + 1" but doesnt work. can anyone help me please n_n? 11-19-2008 05:30 AM In reply to santhoshp Joined on 09-06-2007 Posts 66 Re: Autonumeric Textbox Mark as Not AnswerMark as Answer... Reply Contact Hi, Use the following Xpath as default value of a field in Repeating table. In the following Xpath 'Row' is repeating group. count(../preceding-sibling::my:Row) + 1 Santhoshhttp://www.ggktech.com 11-19-2008 05:37 AM In reply to katze Joined on 11-19-2008 Posts 9 Re: Autonumeric Textbox Mark as Not AnswerMark as Answer... Reply Contact yes, i try that but doesnt work u_u y try count(../preceding-sibling::my:Row) + 1 and count(textboxid/preceding-sibling::my:Row) + 1 11-19-2008 05:50 AM In reply to Hari Krishna Joined on 08-31-2007 Posts 28 Re: Autonumeric Textbox Mark as Not AnswerMark as Answer... Reply Contact Hi, Can you send the structure of your data source. 11-19-2008 06:15 AM In reply to Jimmy Joined on 07-03-2008 Posts 2,595 Re: Autonumeric Textbox Mark as Not AnswerMark as Answer... Reply Contact What exactly are you trying to do here? If you just want the index of each row, the XPath position() will give you that. Nevermind that. Thanks to swathip for the quick answer :-) Jimmy Rishe / Software Developer / Microsoft MVPQdabra Software 11-19-2008 06:21 AM In reply to katze Joined on 11-19-2008 Posts 9 Re: Autonumeric Textbox Mark as Not AnswerMark as Answer... Reply Contact myfields group19 group20 txtSASourceID <--- this. if i put the repeating table they create another row and with a source id + 1 where is the xpath position? im in the textbox properties in the formula section. 11-19-2008 06:27 AM In reply to swathip Joined on 10-30-2007 India Posts 487 Re: Autonumeric Textbox Mark as Not AnswerMark as Answer... Reply Contact Hi, Use count(../preceding-sibling::my:group20) + 1 as default value in txtSASourceID. Swathipwww.ggktech.com 11-19-2008 06:30 AM In reply to katze Joined on 11-19-2008 Posts 9 Re: Autonumeric Textbox Mark as Not AnswerMark as Answer... Reply Contact THANK YOU SWATHIP n_n it works, thank all of you guys too n_n my life now have sense. Page 1 of 1 (8 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hi there i have a problem with the autonumeric textbox in a repeating table.
How can i make it? i try with this "count(./preceding-sibling::my:Row) + 1" but doesnt work.
can anyone help me please n_n?
Hi,
Use the following Xpath as default value of a field in Repeating table. In the following Xpath 'Row' is repeating group.
count(../preceding-sibling::my:Row) + 1
yes, i try that but doesnt work u_u
y try count(../preceding-sibling::my:Row) + 1
and count(textboxid/preceding-sibling::my:Row) + 1
Can you send the structure of your data source.
What exactly are you trying to do here? If you just want the index of each row, the XPath position() will give you that.
Nevermind that. Thanks to swathip for the quick answer :-)
myfields
group19
group20
txtSASourceID <--- this.
if i put the repeating table they create another row and with a source id + 1
where is the xpath position? im in the textbox properties in the formula section.
Use count(../preceding-sibling::my:group20) + 1 as default value in txtSASourceID.
THANK YOU SWATHIP n_n it works, thank all of you guys too n_n
my life now have sense.