I posted in the reports forum. Maybe I'm asking in the wrong forum. Can anyone show how to display only the first few records in a subreport but keep the grand total of the report itself. When I limit results in query; it gives me the records but only totals for that set. I thought about putting code in the on format in detail section like:
but doesn't work. Help please
Code:
If me.control.value >10 then
me.control.visible =false