on 11-11-2009 4:47 AM
hi,
i have to display a Counter on the Form which should be incremented based on the Number Of PERNRs of a Person ID.
Both PERNR and Person ID are present on the Forms. But was wondering how to display or calculate the counter.
Is there any scripting available or should i use some events on the form.
please suggest.
Ags.
hello,
do you mean you have to count the people on the form, but you don´t know the count in the ABAP/ WD initial coding? so you dynamically add nw persons (remove too) on the form without the DB communication, right?
you can always use the scripting: get the number of the row instances and next check if the field are filled/ changed/ etc.
very similar post was send few days ago.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ou may utilize this: (author Mr. Norbert Prager)
var TestNodesLen = xfa.resolveNodes("xfa.record.YOURTABLE.DATA[*]").length; //for accessing via hierarchy
xfa.resolveNode("xfa.record.TESTTYPE.DATA["+ i +"].YOURFIELD").rawValue;
and I guess you will need some loop to work with all the rows.
You´d better read through this "book": http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_ba...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.