E
Ed Cohen
I am using Access 2000 and I need to change the record source for a report.
Unfortunately, I have never been able to do this. According to the help file,
you should be able to do this and it looks quite simple. Well, I cannot even
access the report. I have tried the following methods:
Reports!rptTopCaseClubMembersV2.RecordSource = "some query"
Reports![rptTopCaseClubMembersV2].RecordSource = "some query"
Reports("rptTopCaseClubMembersV2").RecordSource = "some query"
None of these methods work. All I get is an error saying that it cannot find
the report and it does not exist. I just created the report! What is
happening here? Also, when accessing forms, I get the same problems. The only
way I can access a form or report to set a property is to do this:
Report_rptTopCaseClubMembersV2.RecordSource = "some query". Then when I run
that code I get another error saying that you cannot set this property after
the report has been printed. I have not even issued the DoCmd.OpenReport
command yet.
Please Help
Ed Cohen
Unfortunately, I have never been able to do this. According to the help file,
you should be able to do this and it looks quite simple. Well, I cannot even
access the report. I have tried the following methods:
Reports!rptTopCaseClubMembersV2.RecordSource = "some query"
Reports![rptTopCaseClubMembersV2].RecordSource = "some query"
Reports("rptTopCaseClubMembersV2").RecordSource = "some query"
None of these methods work. All I get is an error saying that it cannot find
the report and it does not exist. I just created the report! What is
happening here? Also, when accessing forms, I get the same problems. The only
way I can access a form or report to set a property is to do this:
Report_rptTopCaseClubMembersV2.RecordSource = "some query". Then when I run
that code I get another error saying that you cannot set this property after
the report has been printed. I have not even issued the DoCmd.OpenReport
command yet.
Please Help
Ed Cohen