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 / November 2005

Tip: Looking for answers? Try searching our database.

Populating a field from a database query

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Paul Webster - 08 Nov 2005 19:11 GMT
I want users to be able to enter a currency into an Infopath form from a
drop down list, I then want a database to be queried to look up the
exchange rate for that currency and a field on the Infopath form to be
populated with the exchange rate to later be saved in the XML document.
It sounds straight forward, however I cannot work out how to do it. Can
anyone help?

Paul Webster
Paul Webster - 08 Nov 2005 20:22 GMT
> I want users to be able to enter a currency into an Infopath form from a
> drop down list, I then want a database to be queried to look up the
[quoted text clipped - 4 lines]
>
> Paul Webster

Well I have almost got there by attaching a list box to the exchange
rate in the secondary data source and then filtering where currency
(main data source) = currency (secondary data source) and saying blanks
not allowed.

It isn't however, very elegant, the user has to scroll down and select
the exchange rate from the list.

Would it be better to populate a control programatically, and if so,
how do I do it (using C#).

Paul Webster
 
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.