Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically assign recordsource in Report

Status
Not open for further replies.

rational

Programmer
Apr 12, 2000
3
CA
I have a series of reports that open on a Splash screen. After they are opened I wish to change each of their recordsource properties via code to a parameter query which asks for 2 dates.When I check the design mode of the reports they still have the same recordsource. Is it due to this database is in Access 95. I am sure you can access this property but why isn't it changing?? TIA
 
I believe that you will have to change the recordsources of the reports before they are formatted or on the OnOpen event.&nbsp;&nbsp;There is no requery method for reports so that kind of ties your hands.&nbsp;&nbsp;Do you have to open them up on the splash screen first?<br><br>Let me know.<br><br>Bob B.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top