Remove input boxes when report opens

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jmoudy77
    New Member
    • Sep 2007
    • 20

    Remove input boxes when report opens

    Hi, I've got a form with a cmdbttn that prints a report. The query for the report has a criteria based on a combo box on this form.

    When I press the cmdbttn to print the report, I get a popup box that asks for Name, then another that asks for Date. Both of these are the names of text boxes on the report, but not field names in the query.

    Any ideas?

    Thanks
  • ADezii
    Recognized Expert Expert
    • Apr 2006
    • 8834

    #2
    Originally posted by jmoudy77
    Hi, I've got a form with a cmdbttn that prints a report. The query for the report has a criteria based on a combo box on this form.

    When I press the cmdbttn to print the report, I get a popup box that asks for Name, then another that asks for Date. Both of these are the names of text boxes on the report, but not field names in the query.

    Any ideas?

    Thanks
    Kindly post all relevant code as well as the Source for the Combo Box, etc.

    Comment

    • NeoPa
      Recognized Expert Moderator MVP
      • Oct 2006
      • 32633

      #3
      :-S
      You mean your report is trying to reference controls on the form, but it's not working?
      Check out Referring to Items on a Sub-Form.

      Comment

      Working...