macrabbit Posted August 9, 2010 Posted August 9, 2010 hi there, sorry if there is already another topic like this, but i couldn't find it. i have one db with 3 fields ( name, start, end ) with about 40 different ranges (start-end) and another db with 2 fields (name , value). now i want to check if the value lies within the range (start -end ) and show only those who fit. anyone ?
comment Posted August 9, 2010 Posted August 9, 2010 Define a relationship between the two tables (let's call them Ranges and Values) as: Ranges::Start ≤ Values::Value AND Ranges::End ≥ Values::Value Place a portal to Values on the layout of Ranges.
macrabbit Posted August 10, 2010 Author Posted August 10, 2010 arrrrg ! - so easy i tried it like this but opened the portal in the wrong layout... thanks for bringing me onto the right track! -solved-
Recommended Posts
This topic is 5277 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