on 08-22-2010 7:42 AM
Hi Gurus,
I have to access the rows of table in adobe forms whose values I have passed through the WDA. And I want those values to pass to the one dropdown field.
I have table context as COUNT_TABLE which has a fieldname as "integer".
For that I have written the code as
var variable1 = xfa.resolveNodes("xfa.record.COUNT_TABLE.DATA[*]");
for (var i = 0 ; i < variable1.length ; i++)
{
Dropdownlist.addItem(Variable1.item(i).integer.value,Variable1.item(i).integer.value)
}
But what I have observed that there is some problem with the statement : Variable1.item(i).integer.value
.
Can any body tell me where I am doing the mistake.
Thanks
Well this issue has been resolved here many times. I would suggest please do a Search on SCN for answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you don´t have to check all the records in a single script and you could use a script which has access to a single row only, you could try to attach the script to a row (relative addressing using this). If that would not work for you, follow Chintan and use a search for all the rows script, it really was discussed many times before.
Regards Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By the way: the rule of the thumb by Otto Gold for Adobe forms say: "everything you can do in your backend do NOT do in the form". If you can the sum or something in your backend, do it. Do not commit a scripting suicide if you don´t have to. Add an extra field to the interface, add an extra function module call in your backend coding, but stay alive:))
regards Otto
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.