hello all,
i have created this very simple to use DB that prints out the information you put in.
i get the following message, which is attached. this is happening for both the "Print and Exit" button as well as the "exit without printing".
the code that runs is:
Option Compare Database
Private Sub txt_print_click()
RunCommand acCmdSaveRecord
Call PrintLabels
DoCmd.Close acForm, Me.Name
End Sub
Private Sub txt_exit_click()
Me.Undo
DoCmd.Close acForm, Me.Name
End Sub
The strange thing is that if i close the form, and reopen it again from the switchboard is that it works (sometimes).
not sure what is happening here, any help/suggestions would help.
thank you.