I have a report that is being printed from a filtered continuous form. I'm using
DoCmd.OpenReport "rptNameList", acViewPreview, , ssql
to open this report where ssql is a SQL string that has built up from the form's sql filter.
I want to limit the number of records that this report prints to 100.
Is there a way within the report itself to stop getting anymore detail records once 100 is reached and print what's there? Or will I have create a query based on the form's filter to do this?
TIA
Howard
DoCmd.OpenReport "rptNameList", acViewPreview, , ssql
to open this report where ssql is a SQL string that has built up from the form's sql filter.
I want to limit the number of records that this report prints to 100.
Is there a way within the report itself to stop getting anymore detail records once 100 is reached and print what's there? Or will I have create a query based on the form's filter to do this?
TIA
Howard