Filtering DropDown data in a repeating table

G

George

Hi all,

I have repeating table with a few controls. One of them is textbox called
"LoginName", the second is a drop-down list box called "LoginSelect" (the
repeating table contains infomation about tasks assigned to users). The
LoginSelect dropdown is bound to Users datasource that reads the collection
of users from the datasource. I need to filter data in LoginSelect dropdown
based on the text inserted to LoginName so that LoginSelect will offer only
users whose names begins with the string inserted to LoginName. I have used
filter on LoginSelect that depends on the value od LoginName.
It works fine except one important thing: the data in all dropdowns are
filtered by the data inserted to the LoginName control on the first row
disregarding of how many rows contains the repeating table. I need each
dropdown to be filtered on base of the textbox value on the corresponding
tabl row.
I hope I have described my problem clearly.

Could anybody help me? Is this scenario supported by InfoPath?

Thank You

Best regards

George
 
S

Shiva (GGK Tech)

Hi,

You have to add one more filter for already existing filter using ‘and’
operation.
In that filter you have to select the text box with using current() function
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top