List box record to Report

G

Guest

Hello!

In a Form I have 3 combos that they go "filtering" the records that are read
in exactly form in one listbox.
One of the fields IdRecord.
When click in the one list box row (one record), it opens a Report but it
shows all the records of listbox, that they are in query, and not only what
it was selected.

It would like help so that in the Report it only came the selected record
and not all showed.

Thanks in advance.
an
 
A

Allen Browne

If you open a report by clicking on the list box, presumably you have a
macro or code that uses the OpenReport action. You can use the
WhereCondition in OpenReport to limit the report to just the record in your
form.

For an example, see:
Print the record in the form
at:
http://allenbrowne.com/casu-15.html
 
G

Guest

AB,

Thanks for your help.
Now only necessary to exceed a difficulty: As query is the same of the Form,
it repeats the questions that are answered by comboboxes...

Thank you.
an
 

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

Top