G
Guest
I have created a form where one of the buttons prompts the user to enter
information. I would like this form to behave as follows:
1. The user types in the required information (This works)
2. The user can either enter in part of the information or hit enter to get
all of it. (This doesn't work)
I know I am close...I keep getting the "Run-time error 13": Type
mismatch...Could someone review my code. I'm hoping a fresh pair of eyes
will find the problem...
DoCmd.OpenReport "MyForm", acViewPreview, , "[Year] = 2003 and [Template
Version] Like [Enter Template Version or part of it] & " * ""
Thanks
information. I would like this form to behave as follows:
1. The user types in the required information (This works)
2. The user can either enter in part of the information or hit enter to get
all of it. (This doesn't work)
I know I am close...I keep getting the "Run-time error 13": Type
mismatch...Could someone review my code. I'm hoping a fresh pair of eyes
will find the problem...
DoCmd.OpenReport "MyForm", acViewPreview, , "[Year] = 2003 and [Template
Version] Like [Enter Template Version or part of it] & " * ""
Thanks