Jump to content

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

Recommended Posts

  • Newbies
Posted

Question:

I have a database with two tables (an inventory of items and a work system). In my inventory I have serial numbers and inventory tags. I want to be able to look up items from my inventory using either of the 2 fields. Currently if I relate both fields it requires that I input both pieces of info to look up the details of the item in my work system. I want to be able to use either number to look up the details from my inventory. Is there any way to do this?

I keep looking for an "or" relation option but I have yet to find it. Any help will be greatlky appreciated.

Posted

Welcome Duckling!

Using a Serial# field and a TagID field in your Work table: Set Serial# to be a lookup by the "Inventory by TagID" relationship, the TagID to be a lookup by the "Inventory by Serial#" relationship, and the other fields to be lookups by "Inventory by Serial#".

You will need two table occurances of the Inventory table (one for the TagID relationship, one for the Serial# relationship.)

Posted

It has one flaw: If both keys are already populated, it won't let you change the Serial#.

  • 2 weeks later...

This topic is 7549 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.