Lookup Table

M

MartyLake

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!
 
H

Hilary Stoupa

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.
 

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