Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

referencing a duplicate id in separate table


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

Recommended Posts

Posted

Hi all

 

I have two tables - Table A and Table B. 

 

Table A contains all of our company's inventory. Each inventory item has a barcode number "barcodeid". Not all of the database users have permissions to add new inventory items, and sometimes certain items get overlooked. As a result, I've created a new table where our general users can request an add to the inventory system (Table B ).

 

On the admin side, I have a table (Table B ) view that displays the requested items. One thing the user is required to enter is the barcode id that is on the item that is missing from the system (the barcode id is generated using separate software - the way this was incorporated was out of my hands). I would like the barcode id to appear in green should the barcode id NOT match an existing barcode id in Table A.

 

I know this would be relatively simple conditional formatting, but I'm failing to see how I would create the relationship between the barcode ID in Table A and Table B. Eventually I plan on using this relationship to just prompt the end user that the record exists, but for now I just want the admin user to have this function.

 

Any help appreciated.

Posted
'm failing to see how I would create the relationship between the barcode ID in Table A and Table B.

 

Exactly like you just said: link the two tables, matching on the Barcode field:

Inventory::Barcode = Requests::Barcode

(please note the absence of abstract names; humans present)

 

 

Once you have that in place, you can apply conditional formatting to the Barcode field on the Requests layout and make it green when =

IsEmpty ( Inventory::Barcode )
  • Like 1

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