If you don't have a PK then you need to add one. You can call it BookingNumber. Make it autonumber and designate it as a primary key. Once you save the changes, the table will update and assign a record number to each record. After that, the query will work.
As far as VBA, there is little...