
Originally Posted by
Maxjoo
I do not remember to have asked this before...
I have a form showing records for a particular building. I added a command button to show the record I have on the screen, using a report; but when I click on the command button, the report shows ALL the records in the DB. How can I make the report to show the current record? I know I have to use a macro (or a similar instruction) or the "On Current" property, but HOW? THANK YOU IN ADVANCE!!!!!...

Hi Maxjoo,
To get pass this issue, you have to place a criteria on the ID field within the RowSource property of the report....
As an expression it will look something like this
Code:
[Forms]![theFormName]![ID]
This expression will select the exact record you are on and will generate the report you want....
Regards