How to pass a value from a form to a report in ms access?

PROBLEM
Trying to pass on the value in the field "Volume in Liters" that is on the form "frmlSilicaSamplingSetup" or Sampling Information Setup to the report "rptChainofCustody" report or Chain of Custody .

WHAT I HAVE TRIED
I copied the field 'Volume in Liters" field from the form Sampling Information Setup that has this function in it: "=[Total Sampling Time in Minutes]*[Average Flow Rate (Start Flow Rate X End Flow Rate)]" to the Chain of custody form.

HOW TO RECREATE THE PROBLEM

1. OPEN APPLICATION
2. CLICK THE BUTTON THAT SAYS "SAMPLING SETUP" AND ENTER 3 WHEN THE PAREMETER COME UP.
3. LOOK AT THE VOLUME IN LITERS AT THE BOTTOM OF THE PAGE.
4. CLOSE FORM AND OPEN THE REPORT BY CLICKING "CHAIN OF CUSTODY" REPORT BUTTON AND YOU WILL SEE THE VALUE IS NOT IN THE "sAMPLE vOLUME lITERS".
fORM-rEPORT.jpg
Silica_App---V12.accdb
cssc1Asked:
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.

PatHartmanCommented:
There are many problems with this application

The application prompts for a parameter when it opens - it shouldn't
The report's RecordSource query includes columns that do not exist so the report will not open up.  Therefore, I can't tell where the data is missing or even what technique you are using to get it.  If you are referencing a form, the problem is that the form is NOT open.  You can only reference open forms.  This calculation should be in the query used as the recordSource for the form and report.  That way it is in one place but available whenever you need it.



Then there's the schema - i'm sure people have told you that you have a large number of repeating groups in tblSilica1
Not to mention the group of strange relationships to tblSilica11
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
cssc1Author Commented:
It worked, thanks
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 Access

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.