M
MRL
Have 2 table fields [Part #:] and [Operation #:] that a user will input from
a form "Input Form" (have 2 text boxes). That all works fine & dandy. Now I
want to put code in "Input Form" so when a report is requested by hitting a
print button and there are no matches for part # & operation # a message box
informs the user. Trying to fit it in under the btn_print sub using such
attempts as:
if [queries]![main table query]![part #:] = "" then
msgbox "Sorry",
Keeps telling me it can't find field ' ' with some symbol in the ''. What
the......any ideas, are : and # things I shouldn't use in field names?
Thanks
a form "Input Form" (have 2 text boxes). That all works fine & dandy. Now I
want to put code in "Input Form" so when a report is requested by hitting a
print button and there are no matches for part # & operation # a message box
informs the user. Trying to fit it in under the btn_print sub using such
attempts as:
if [queries]![main table query]![part #:] = "" then
msgbox "Sorry",
Keeps telling me it can't find field ' ' with some symbol in the ''. What
the......any ideas, are : and # things I shouldn't use in field names?
Thanks