Jump to content

Matching two fields inexactly


This topic is 8401 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Is the relationship based on the Material field? If not, build the relationship this way, and then try using the lookup technique with next higher selected. This should work.

Chuck

Link to comment
Share on other sites

quote:

Originally posted by Chuck:

[QB]Is the relationship based on the Material field? If not, build the relationship this way, and then try using the lookup technique with next higher selected. This should work.

When I originally tried this, I only based the relationship on just the Material field (wood, metal, etc) which didn't work because it just returned the first record matching "wood" without taking into acount the length I needed. I went back and reread my question and realized that I should concatenate the Material and Length field for the relationship (and the Material and Size field in the related file)then try using the lookup technique with next higher selected (which is what I now realize you suggested.) I did have to add leading zeros to make everything sorted properly. I still need to have some way to make sure that the chosen, next higher value doesn't roll over into the next material category (i.e. bigger than "metal55" so it chooses "nylon01".) But I think I can put in a record with a default upper limit that will never be exceeded to do this.

Thanks Chuck, I appreciate the help. Sometimes it's all in how you word the question!

Mike

Link to comment
Share on other sites

This topic is 8401 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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