Dropdown box with code to change items...

B

blain

I'm just getting my feet wet in infopath and I'm finding the coding part of
this rather difficult to use.

What I'm trying to do is have a drop down list box in a repeating section.
This listbox is populated from a sharepoint datasource. Now when they
select an item I wanted to display an additional field from that same record
next to that entry.... so I have a data source that has:

Title, id, Reference Document, Status

The listbox shows the list of titles. When they select one I wanted the
textbox next to it to show the status of that item, and a button to launch
the hyperlink in the Reference Document field.

I tried to put some code in the "AfterChangeEvent" on the listbox, but I'm
pretty unsuccessful in getting anything to work. I think that is compounded
by the fact that this would appear in a repeating section and I'm not sure
how to access an instance of a control in the current repeating section.

Any help and education on this would really help...

Thanks in advance,
=Blain
 

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