• Credit form in front of a report (Access 2002, Win 98 2nd R)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Credit form in front of a report (Access 2002, Win 98 2nd R)

    Author
    Topic
    #362769

    I was wondering how to put a form in front of a report so that people with no experience has an easier time of using the program.

    The other question regards a report with two subreports. both sub forms have 3 parameters each. The parameters are the same on both subreports. How can I fix it so that I have to input the data only once?

    Thank you for your time and responses. Fay

    Viewing 1 reply thread
    Author
    Replies
    • #551588

      You can create a criteria form that will have fields for all the parameters needed. So let’s say you need a start date and end date; put those two textboxes on a form frmDateCriteria; add an “OK” button, cmdOK; in cmdOK click event make the form invisible. In the open event of your report, add code to open frmDateCriteria. When users fill in the parameters and click OK, the report will run. In the close event of the report, close the criteria form. You will also want to change the queries behind your subreports to pull values from the form, so instead of [Enter Start Date] in the criteria, use Forms!frmDateCriteria!txtStartDate.

    • #551625

      If the subreports are properly linked to the report, you shouldn’t need parameters on them because their recordsets will be filtered by the parent report. If you’re using unbound subreports, that is subreports not linked to the parent report, then you’ll have to do it as Dottie suggests.

      Credit form? What exactly do you mean by that? Are you talking about a switchboard/menu form?

    Viewing 1 reply thread
    Reply To: Credit form in front of a report (Access 2002, Win 98 2nd R)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: