Do you mean 'LIKE'
Like that. Here is each case looks now:
Case Is = cbodocumenttype = "RELEASES"
DoCmd.OpenForm "RELEASES", , , "NUMBER 'LIKE' " & txtuserinput
It is running to the end.
I removed the first msgbox code, and now the msgbox code with the "document number reqired" code is working.
But none of the cases are working and I am getting the "Error, unexpected Document Type!"
Like that. Here is each case looks now:
Case Is = cbodocumenttype = "RELEASES"
DoCmd.OpenForm "RELEASES", , , "NUMBER 'LIKE' " & txtuserinput
It is running to the end.
I removed the first msgbox code, and now the msgbox code with the "document number reqired" code is working.
But none of the cases are working and I am getting the "Error, unexpected Document Type!"
Comment