C
Crystal
I am trying to make the user interface more user-friendly by creating a
command button that will open the dialog box to insert an object into an OLE
field.
My code is:
Me.txtAttachment.SetFocus
DoCmd.RunCommand (accmdInsertObject)
This worked once. Nothing changed but the code won't run anymore. Now, I
get error 2001, "You have cancelled the previous operation"
What did I do wrong? How do I fix it?
Crystal
command button that will open the dialog box to insert an object into an OLE
field.
My code is:
Me.txtAttachment.SetFocus
DoCmd.RunCommand (accmdInsertObject)
This worked once. Nothing changed but the code won't run anymore. Now, I
get error 2001, "You have cancelled the previous operation"
What did I do wrong? How do I fix it?
Crystal