MS Access Reports 2010 - SQL Server 2008, SSMS

Hi Experts,

I have a report written in MS Access and call a Stored Procedure (SP) in VBA using:

 Me.RecordSource = SetSprParameters()

Lets call this point A

I have a table:
Reports table
The report is named in a field in this table
The SP is named in a field in this table

Lets call this point B

How does the report know to use that SP name?
Getting from point A to point B?

Thanks for helping....
Amour22015Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ste5anSenior DeveloperCommented:
What does SetSprParameters return?

I would normally create a passthrough query to execute the stored procedure before opening the report and bind the report to that query.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Amour22015Author Commented:
I am knew to all this

SetSprParameters returns the SP

In Access I don't have a record source named, instead I am using:
Me.RecordSource = SetSprParameters()

Some how it is done using Access table(s) to get the correct SP Name and that is why I am posting this question about how Access knows to get the name that is located in the table by using:
Me.RecordSource = SetSprParameters()

I am just trying to learn how this company does that?

Please help and thanks
0
Amour22015Author Commented:
Ok great
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2008

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.