I want to filter a report by vendor. The user types in the name of the vendor in a text box, and then the code does the following:
DoCmd.OpenReport stDocName, acPreview, , "[vendorcode] = " & text1
However, I get a prompt for some reason. For example if I enter 'GEORGE' into the text box, when...