Hi Everyone,
I am working with an access control system. The system logs each time a staff member uses a card to access a door. The cards are stored in a Card table and the transactions are stored in the Transaction table.
The Card has an internal ID for the table and an external ID for the number that actually appears on the card. So, for the card that is printed with number 007250, the internal ID is 100. That intenral ID periodically changes, but is never duplicated. So, the internal ID for card 007250 could be 100, 101, 102, etc.
The Transaction table stores the data based on the internal card ID number.
I am attempting to identify the last time a card was used (to see if we have inactive cards). If there were not various internal IDs for each card, I could just use something along the lines of Maximum. But, that's not working for me.
Any ideas?
I am working with an access control system. The system logs each time a staff member uses a card to access a door. The cards are stored in a Card table and the transactions are stored in the Transaction table.
The Card has an internal ID for the table and an external ID for the number that actually appears on the card. So, for the card that is printed with number 007250, the internal ID is 100. That intenral ID periodically changes, but is never duplicated. So, the internal ID for card 007250 could be 100, 101, 102, etc.
The Transaction table stores the data based on the internal card ID number.
I am attempting to identify the last time a card was used (to see if we have inactive cards). If there were not various internal IDs for each card, I could just use something along the lines of Maximum. But, that's not working for me.
Any ideas?