Newbies ricciardi Posted October 12, 2007 Newbies Share Posted October 12, 2007 Hi, I'm a newbie in FM, and I'm always trying to improve the database that I'm using to get my work more efficient. I have this question: I want to calculate the price of a transportation based on a range of values, for example: 0-5kgs 4€ 6-10kgs 5€ 11-20kgs 6€ I've created a table with this values, and I want the field to search in it. Can you give me a help. This must be very simple. Thank you. Link to comment Share on other sites More sharing options...
comment Posted October 12, 2007 Share Posted October 12, 2007 Define a relationship between your main table and the Prices table, matching actual weight to minimum weight. Make the price field in your main table lookup the price from the related record in Prices, using the 'lookup next lower' option. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6169 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now