Hi,
I have a web service used in the form which returns a table structure.
I dragged this table onto the form, thus creating abinding with a table field on the form.
While I call this web service and then check the result, I get the count as ZERO.
If I set the minCount of this table to any pred-defined number, I get that many entries in the return table structure..
Is there any way to solve this problem?
Regards, Amith
Views
Replies
Total Likes
In the table or row object the Object -> Binding properties tab should have a checked checkbox called "Repeat Row for Each Data Item" which has three properties: Min Count, Max, and Initial Count. If that checkbox is not checked then I would expect to see the behavior you describe. I haven't got a web service to compare with but I have successfully bound a table row to a repeating element in a schema and it works fine as long as I check that checkbox. Sounds like your table row is not bound to the repeating element in the Web Service schema. Stefan Cameron has a pretty good description of how to set up the table at http://forms.stefcameron.com/2009/02/25/expandable-table-with-totals/.
Hi Don,
Thanks for your response.
Well, I have checked the "Repeat Row for Each Data Item" but still it has not worked. It only worls if I put a pre-defined number for min rows.
But the good thing is that I navigated from the link you mentioned and stumbled across this one.
http://forms.stefcameron.com/2009/03/23/pre-process-web-service-responses/
Now I am populating a hidden drop down field for each call to my web service. then I read data from it to fill a drop down field in the corresponding row of my table...
Thanks for your inputs..
Views
Replies
Total Likes