I want to add a proviso into a function. If a record is about to become "Available", I want to have a message box ask first something like "Has he passed the test?"
If the answer is "Yes", show "Available". But if it's "No", then keep with the status quo.
At present, this decides the availability question -
If Abs(DateDiff("d", Me!cboDoA, Date)) >= 14 And Me!cboWork = "Induction" Then Me!cboWork = "Available"
Back to the drawing board, or can I incorporate the MsgBox in here, please, Experts?
If the answer is "Yes", show "Available". But if it's "No", then keep with the status quo.
At present, this decides the availability question -
If Abs(DateDiff("d", Me!cboDoA, Date)) >= 14 And Me!cboWork = "Induction" Then Me!cboWork = "Available"
Back to the drawing board, or can I incorporate the MsgBox in here, please, Experts?