?
Solved

Select Data from Repeating Table

Posted on 2011-10-03
3
Medium Priority
?
406 Views
Last Modified: 2012-05-12
Hello Experts,

I have an InfoPath 2003 form that is returning data from MS Access 2003 in a repeating tables.  What I would like to do is add a radio button to the repeating table so that only one row can be selected at any given time.  Then I would like to display a value from that row to a text box.   Any ideas?

Thanks
0
Comment
Question by:ShadowIT
  • 2
3 Comments
 
LVL 28

Accepted Solution

by:
clayfox earned 1500 total points
ID: 36907960
Add a field outside of the repeating section.

put a button inside the repeating row or section and set the external field with the row ID or whatever is unique in it.

Then add conditional formatting that highlights the row when ID equals external field.

I often have 2 repeating elements boung to the same data connection.  One displays all but is read only and the other shows the selected record in greater detail.

etc.  

You can use another button in the same way to set a text field, which is just a rule action.
0
 

Author Comment

by:ShadowIT
ID: 36910035
Can you please provide an example of this?
0
 

Author Closing Comment

by:ShadowIT
ID: 36949114
I eventually figured this out; now Clay's comments make sense to me but I would have done it sooner with a simple example.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We live in a world of interfaces like the one in the title picture. VBA also allows to use interfaces which offers a lot of possibilities. This article describes how to use interfaces in VBA and how to work around their bugs.
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question