An UNBOUND form using VBA to lookup LoyaltyAmount and execute SQL actions is one option.
Another is form bound to Clockings table and focus on new record row (form set for DataEntry yes will only allow new records)
Scan barcode into a combobox control. Combobox RowSource is like:
SELECT...