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 / July 2008

Tip: Looking for answers? Try searching our database.

Lookup Table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
MartyLake - 22 Jul 2008 19:18 GMT
I am making a mileage form in InfoPath and want to implement a lookup table
of some sort.  There will be a drop-down box for "From" location and a
drop-down box for "To" location.  I want InfoPath to calculate the distance
between these 2 locations based on a table of entries I give it.  I'm not
really sure how to do this.  Any suggestions are appreciated.  Thanks!
Hilary Stoupa - 23 Jul 2008 03:41 GMT
Hi:

So your lookup table will have three columns, From, To and Distance? Or will
there be another table that you use for a calculation based on the selections
in your other drop downs?

If it is the first scenario, you can connect an expression box (for example)
to the Distance field from your secondary data connection and filter it based
on the selections in the To and From drop downs. If it is the second
scenario, more information about your intended set up would be helpful.
Signature

Hilary Stoupa
Visit InfoPathDev at http://www.infopathdev.com

> I am making a mileage form in InfoPath and want to implement a lookup table
> of some sort.  There will be a drop-down box for "From" location and a
> drop-down box for "To" location.  I want InfoPath to calculate the distance
> between these 2 locations based on a table of entries I give it.  I'm not
> really sure how to do this.  Any suggestions are appreciated.  Thanks!
MartyLake - 23 Jul 2008 21:21 GMT
Thanks for the reply.  I used this article as a guide and made the distance a
text box with a filter based on the To and From values.  For the data source,
I used a SharePoint list.

http://msmvps.com/blogs/benwalters/archive/2007/08/05/filtered-drop-down-lists-1
01.aspx


> Hi:
>
[quoted text clipped - 12 lines]
> > between these 2 locations based on a table of entries I give it.  I'm not
> > really sure how to do this.  Any suggestions are appreciated.  Thanks!
 
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.