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 / August 2007

Tip: Looking for answers? Try searching our database.

Changing Data Connection Query [InfoPath 2007]

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
James Laker - 09 Jul 2007 16:12 GMT
With such a lack of tutorials on the web, anyone have links to proper
Infopath 2007 tutorial where I can find out how to change a Dataconnection
Query and Execute it from Code.

I'm trying to update an Combobox by retrieving only the current user's
Awards when the form loads.

Thanx a lot in advance!
S.Y.M. Wong-A-Ton - 05 Aug 2007 11:22 GMT
It sounds like you want to filter a combo box. If you've bound the combo box
to a data connection, you can retrieve the items for that data connection in
code, filter the items, and then refill the combo box. The principle behind
combo boxes is the same as that behind drop-down list boxes. This article
http://enterprise-solutions.swits.net/infopath2007/programmatically-fill-populat
e-drop-down-list-box-infopath-2007.htm

explains the concept for filling drop-down list boxes in InfoPath. And this
document
http://www.microsoft.com/downloads/details.aspx?FamilyID=DB1D99D9-0A31-45DE-8EFB
-16C75E194DC3&displaylang=en
contains a section on how to filter.
---
S.Y.M. Wong-A-Ton

> With such a lack of tutorials on the web, anyone have links to proper
> Infopath 2007 tutorial where I can find out how to change a Dataconnection
[quoted text clipped - 4 lines]
>
> Thanx a lot in advance!
 
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.