Jump to content
Sign in to follow this  
owaring

Comparing multiple values

Recommended Posts

I have a system that logs radio frequencies.

For each frequency (record) has 4 calculated fields

I need to compare each frequency in the database all other frequencies and all calculations.

The comparison would check ±20 to see if any of the other freqs (or calculations) are in range of each other.

How best to achieve this?

Many thanks

Share this post


Link to post
Share on other sites

For each frequency (record) has 4 calculated fields

You are a bit thrifty with the details here, descripe the purpose of these!

But basicly should you use the recorded frequency as the indexed side of a selfjoin using the fields value to calculate the upper and lower range, which then should act as a stacked relations defintion using < and ≥ ...

This will provide you with a portalized view of other records within the range, for each record ... including the record it self.

Now further stacking in the relations def. could a non equal with the autoentered recordID, will get rid of the record it self in the portal.

--sd

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.