Reports

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to product a report determined by what I select in a dropdown
menu. i.e. On a form I have a dropdown menu where I can select a Surname.
what I would like to happen is when I select this Surname it produces all the
Invoices relating to this person only so I can scroll through them.
 
Depending on how complex the data structure and report is, you can do this
directly in the report or create a query first. To do this in the report,
use the combobox's (dropdown menu?) AfterUpdate event to open the report with
a filter: "[Surname]='" & Me.combobox & "'" For greater flexibility, use a
query based on the selections of the form to feed the report: output field
[Surname] with criteria [Forms]![MainFormName]![ComboBox].
 
Many Thanks
I will give it a go.

Steve

kingston via AccessMonster.com said:
Depending on how complex the data structure and report is, you can do this
directly in the report or create a query first. To do this in the report,
use the combobox's (dropdown menu?) AfterUpdate event to open the report with
a filter: "[Surname]='" & Me.combobox & "'" For greater flexibility, use a
query based on the selections of the form to feed the report: output field
[Surname] with criteria [Forms]![MainFormName]![ComboBox].

Steve said:
I am trying to product a report determined by what I select in a dropdown
menu. i.e. On a form I have a dropdown menu where I can select a Surname.
what I would like to happen is when I select this Surname it produces all the
Invoices relating to this person only so I can scroll through them.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top