Hi,
I am using Access 2003 with a SQL Server 2000 backend.
I want to use a single Report with several different queries, one at a time.
I have the code:
DoCmd.OpenReport "rptJournalMailingLabels", acViewPreview, "qryJournalMailingCurrentIssueSingle"
But this doesn't work. How do I dynamically set the Report datasource?
Thanks
Ian
I am using Access 2003 with a SQL Server 2000 backend.
I want to use a single Report with several different queries, one at a time.
I have the code:
DoCmd.OpenReport "rptJournalMailingLabels", acViewPreview, "qryJournalMailingCurrentIssueSingle"
But this doesn't work. How do I dynamically set the Report datasource?
Thanks
Ian