I'm using a repeated table to show the results returned by a web service.
Imagine the table having this structure:
+----+------+-------+
| ID | NAME |SURNAME|
+----+------+-------+
| 3 | John | Wood |
+----+------+-------+
| 6 | Mary | Green |
+----+------+-------+
| 15 | Mike | White |
+----+------+-------+
From the results the user must select one row (How?? Simply clicking
on??) and then I want to save the ID in a variable of a Jscript. Suppose
that the user selects the row with ID=6.
Can you Help me???
Thanks
Alex [MSFT] - 13 May 2005 18:52 GMT
Add a column to the repeating table. Put a button into each row in that
repeating table; click on button properties and configure a rule for
that button to set a field's value to the ID in the selected row.
Remember to add a field to your data source (View | Data Source | Add)
to store the ID of the selected row.
Good luck,
Alex @ Microsoft
-----Original Message-----
From: Andrea V.F. [mailto:vfandrea@gmail.com]
Posted At: Friday, May 13, 2005 8:49 AM
Posted To: microsoft.public.infopath
Conversation: Repeated Table
Subject: Repeated Table
I'm using a repeated table to show the results returned by a web
service.
Imagine the table having this structure:
+----+------+-------+
| ID | NAME |SURNAME|
+----+------+-------+
| 3 | John | Wood |
+----+------+-------+
| 6 | Mary | Green |
+----+------+-------+
| 15 | Mike | White |
+----+------+-------+
From the results the user must select one row (How?? Simply clicking
on??) and then I want to save the ID in a variable of a Jscript. Suppose
that the user selects the row with ID=6.
Can you Help me???
Thanks