I am using the code at the buttom of this entry behind a button to print a report but when I choose it opens the report in one note instead. What did I do wrong...
Please note that lstqueries is a list box within the form where the button resides that gives the user a list of different reports they can choose from. Please also note that when I use this code
DoCmd.OpenReport Me.lstQueries, acViewPreview, , strCriteria
then the report previews perfectly.
Here is the code.....any help appreciated
DoCmd.OpenReport Me.lstQueries, acViewNormal, , strCriteria