- Local time
- Today, 17:08
- Joined
- Jan 23, 2006
- Messages
- 15,393
Instead of a new table, you could put the emailId that matches the bookingref into a new field in the tblBookings.
That could be done with a button click or just run the sub MatchEmails (after adjusting the writeRecord sub to update the tblBookings .
When that is completed, you could run a query involving both tables to identify EmailIds that are not in tblBookings.
At this point, you would have to parse the ImportedEmails to find some text/code that identifies a potential bookingRef. These would be new records.
What would be the format of such a search? How many characters long? Any pattern?
**This could be the hardest part of your setup**.
I guess my confusion with the thread is I do not appreciate the need for the Form.
That could be done with a button click or just run the sub MatchEmails (after adjusting the writeRecord sub to update the tblBookings .
When that is completed, you could run a query involving both tables to identify EmailIds that are not in tblBookings.
At this point, you would have to parse the ImportedEmails to find some text/code that identifies a potential bookingRef. These would be new records.
What would be the format of such a search? How many characters long? Any pattern?
**This could be the hardest part of your setup**.
I guess my confusion with the thread is I do not appreciate the need for the Form.
Last edited: