Make a report only show one record

G

Guest

I'm sorry, but I'm a total newbie and I need some help.

I made a report and I would only like to display ONE record at a time. When
I look at my report, it shows the first record with my header and it looks
nice. It then makes a second page with no header and so on for the rest of
my records. I don't mind being able to navigate between records, but I want
the report to only show one of the records at a time.

It seems like such an easy thing to do, but I can't find directions to do
this anywhere.
 
R

Rick Brandt

Frustrated said:
I'm sorry, but I'm a total newbie and I need some help.

I made a report and I would only like to display ONE record at a
time. When I look at my report, it shows the first record with my
header and it looks nice. It then makes a second page with no header
and so on for the rest of my records. I don't mind being able to
navigate between records, but I want the report to only show one of
the records at a time.

It seems like such an easy thing to do, but I can't find directions
to do this anywhere.

The most common method is to open the report from a form and the code behind the
form supplies an optional WHERE argument value to the OpenReport method which
filters the report's data.

Suppose the form had a ComboBox for choosing the record to see in the report.
The code would look similar to...

DoCmd.OpenReport "ReportName", acViewPreview,, "RecordID = " & Me!ComboBoxName
 

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