Hello.
Versions:
CF8, MySQL 5.5.27
Database record fields:
, FirstAttemptByCertNumber <-- same certification number
, SecondAttemptByCertNumber
, ThirdAttemptByCertNumber <-- same certification number
, FourthAttemptByCertNumber
Scenario:
Web based airway management report. Four attempts are allowed per patient. An individual attempts an airway insertion and is not successful. This would be recorded in the first attempt section of the report. A different person does a second and attempt and is not successful. The first person attempts a third time and this time around is successful. So the FirstAttemptByCertNumber and ThirdAttemptByCertNumber DB fields would contain the same certification number. After the information is inserted into the DB and e-mail is generated and sent out. Client would like to have all information in a single DB record
The goal (if possible) is to only send out one e-mail for each Certification Number in the DB record. I am able to get the last record id inserted, but cannot seem to get my head around how to stop duplicate e-mail sending.
Is this even possible and if so, any suggestions on how to accomplish such a task? If more clarification is required please ask.
TIA - Leonard B