I have a keys table and a keysctivity table. I need keys to not be available if they are currently signed out (return_date is null) or if they have been marked as lost (lost_key = true)
This is my activity table.
http://jumpshare.com/v/6ID9bi?b=D7NY0X
If for example signin_id 1 was not returned or was lost, key_id 1 should no longer be available. Is this something that can be done?
This is the access file I am working on: http://jumpshare.com/b/V7g9ko
A possible solution would even be to create two new tables "lostKeys" "unreturned_keys" and have records moved to their respective tables based on whether they are indicated to be lost or currently not returned. Im just not sure how to accomplish this or if it's a good solution.
This is my activity table.
http://jumpshare.com/v/6ID9bi?b=D7NY0X
If for example signin_id 1 was not returned or was lost, key_id 1 should no longer be available. Is this something that can be done?
This is the access file I am working on: http://jumpshare.com/b/V7g9ko
A possible solution would even be to create two new tables "lostKeys" "unreturned_keys" and have records moved to their respective tables based on whether they are indicated to be lost or currently not returned. Im just not sure how to accomplish this or if it's a good solution.
Last edited: