Passing Variables to a Report Recordsource

R

Ryan Langton

Do I need to do this using a stored procedure?
I need to generate a report based on values from global variables
(varStartDate and varEndDate). Whenever I try to use these variables in the
report recordsource query I am getting errors that they cannot be found.

I have not used stored procedures before.
 
Joined
Jul 11, 2005
Messages
43
Reaction score
0
ACC2000: How to Reference Parameters in Reports

I'm in the process of making my access apps use nothing but server side objects like SPs. I think it is a good practice. I have found that access has allot of futures to help ADP developers use SPs that are not well documented. Unfortunately I was going to do the reports last, so I can't say that I have used this article. I plan to.


http://support.microsoft.com/default.aspx?scid=kb;en-us;208630
 
A

aaron.kempf

variables like that; i always just store them in a table; and then it
is easy to bind these to the correct fields using subqueries.

i just think that it's more efficient to store all the logic on the
server than pass variables around and things like that

-aaron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top