Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / December 2005

Tip: Looking for answers? Try searching our database.

Make a report only show one record

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frustrated Newbie - 30 Dec 2005 21:46 GMT
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.
Rick Brandt - 30 Dec 2005 22:08 GMT
> I'm sorry, but I'm a total newbie and I need some help.
>
[quoted text clipped - 7 lines]
> 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

Signature

I don't check the Email account attached
to this message.     Send instead to...
RBrandt    at       Hunter      dot      com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.