M
Mark
On a form there is a combo box. The combo box's row
source is:
SELECT [queryClassesByTitle].[ClassID],
[queryClassesByTitle].[ClassTitle], [queryClassesByTitle].
[ClassDate], [queryClassesByTitle].[ClassStartTime],
[queryClassesByTitle].[ClassEndTime],
[queryClassesByTitle].[ClassLocation] FROM
queryClassesByTitle;
Before the form is opened, the query asks the user to
enter their Employee ID. I have code that returns a
message box if the user enters an ID that isn't valid...
then cancels the opening of the form (here is part of the
code):
MsgBox "The Employee ID is not valid.",
vbCritical, "Notice:"
Cancel = True
However, after the message box appears and the user clicks
the "ok" button... a standard Access message box appears:
"OpenForm action was canceled."
How can I delete this standard message box from
appearing? It is not necessary to have the two message
boxes appearing.
source is:
SELECT [queryClassesByTitle].[ClassID],
[queryClassesByTitle].[ClassTitle], [queryClassesByTitle].
[ClassDate], [queryClassesByTitle].[ClassStartTime],
[queryClassesByTitle].[ClassEndTime],
[queryClassesByTitle].[ClassLocation] FROM
queryClassesByTitle;
Before the form is opened, the query asks the user to
enter their Employee ID. I have code that returns a
message box if the user enters an ID that isn't valid...
then cancels the opening of the form (here is part of the
code):
MsgBox "The Employee ID is not valid.",
vbCritical, "Notice:"
Cancel = True
However, after the message box appears and the user clicks
the "ok" button... a standard Access message box appears:
"OpenForm action was canceled."
How can I delete this standard message box from
appearing? It is not necessary to have the two message
boxes appearing.