Chuck Posted May 17, 2001 Posted May 17, 2001 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
Michael Thomas Posted May 18, 2001 Author Posted May 18, 2001 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
Recommended Posts
This topic is 8658 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