Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

referencing a duplicate id in separate table

Featured Replies

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.

'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 )
  • Author

Thanks comment. Totally over complicated this in my head.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.