Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / February 2007

Tip: Looking for answers? Try searching our database.

Dropdown box with code to change items...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
blain - 14 Feb 2007 13:35 GMT
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
S.Y.M. Wong-A-Ton - 14 Feb 2007 23:59 GMT
Try this article:
http://enterprise-solutions.swits.net/infopath2003/article.php?t=retrieve-field-
value-same-row-repeating-table&c=infopath2003


Keep in mind that a repeating section is the same as a repeating table
behind the scenes. And the same way you can retrieve a field in the same row,
you can also set its value.
---
S.Y.M. Wong-A-Ton

> I'm just getting my feet wet in infopath and I'm finding the coding part of
> this rather difficult to use.
[quoted text clipped - 19 lines]
> Thanks in advance,
> =Blain
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.