megatronixs
Registered User.
- Local time
- Today, 12:29
- Joined
- Aug 17, 2012
- Messages
- 719
Hi all,
I have some code that is used to scan Outlook emails and then entering them in a database for trainings. The idea is to automate the emails received in the training team.
a person would reply on the email, and when the automation runs, it pulls it to the enrolment table in the database. I use a event id to make all trainings unique.
The other factor that plays, is the amount of places available for the training. If ther would be a training with only 12 places, the code should first check if the event id has still places available, if yes, then enter the data in the table and respond with email to the user, or, if no places available, then respond with email saying sorry, no places.
The below link is the one containing the test database and more about the automation:
http://www.access-programmers.co.uk/forums/showthread.php?t=290816
Any clue to count the amount of event id's in the tabel that is equal as the event id in the email and enter it in the table if still not reached the limit of the places.
The amounts of places available are in the table "tbl_event" in the column "available_places" minus the column "reserved_places" (there could be 12 places, but 2 could be reserved and then only would be 10 available in reality).
Thanking you all in advance and wishing you all a happy new year
I have some code that is used to scan Outlook emails and then entering them in a database for trainings. The idea is to automate the emails received in the training team.
a person would reply on the email, and when the automation runs, it pulls it to the enrolment table in the database. I use a event id to make all trainings unique.
The other factor that plays, is the amount of places available for the training. If ther would be a training with only 12 places, the code should first check if the event id has still places available, if yes, then enter the data in the table and respond with email to the user, or, if no places available, then respond with email saying sorry, no places.
The below link is the one containing the test database and more about the automation:
http://www.access-programmers.co.uk/forums/showthread.php?t=290816
Any clue to count the amount of event id's in the tabel that is equal as the event id in the email and enter it in the table if still not reached the limit of the places.
The amounts of places available are in the table "tbl_event" in the column "available_places" minus the column "reserved_places" (there could be 12 places, but 2 could be reserved and then only would be 10 available in reality).
Thanking you all in advance and wishing you all a happy new year