R
Rick
Access 2002
SQL Server 2000
ADP Project
I have a report that uses a stored procedure (no parameters) as the
recordsource. The report contains a subreport in a GroupFooter, which is
where it must be. The subreport's recordsource is a stored procedure that
takes one parameter.
When I run the report the subreport yields the same records each time, which
is the records related to the first record of the report, rather than giving
me a unique recordset for each new primary key in the report.
How do I set up the recordsources and property settings so that I get the
subreport to display a separate set of records for each record in the
report? (And yes, my report contains a field with the primary key needed by
the subreport to get the proper values.)
* I have tried the MSKB, but it only speaks of forms/subforms and the fix
there doesn't work for reports.
* I have read the Access Developers Handbook/Enterprise and it doesn't
address this, although it relates
similar bugs/shortcomings.
* I have tried using the Recordsource and InputParameters properties (both
on the property sheet and in
code) and neither work.
SQL Server 2000
ADP Project
I have a report that uses a stored procedure (no parameters) as the
recordsource. The report contains a subreport in a GroupFooter, which is
where it must be. The subreport's recordsource is a stored procedure that
takes one parameter.
When I run the report the subreport yields the same records each time, which
is the records related to the first record of the report, rather than giving
me a unique recordset for each new primary key in the report.
How do I set up the recordsources and property settings so that I get the
subreport to display a separate set of records for each record in the
report? (And yes, my report contains a field with the primary key needed by
the subreport to get the proper values.)
* I have tried the MSKB, but it only speaks of forms/subforms and the fix
there doesn't work for reports.
* I have read the Access Developers Handbook/Enterprise and it doesn't
address this, although it relates
similar bugs/shortcomings.
* I have tried using the Recordsource and InputParameters properties (both
on the property sheet and in
code) and neither work.