Sandra Smith
asked on
Pass two open args to a REPORT in ACCESS 2003
I have a form whereby users select a year and a quarter and run the report. I want these two values to populate two text fields on the report. I am trying to use opening argu, but I am not gettng anywhere. Teh questions marks are where I want the values from txtEvalYear and txtEvalQuarter to go so they appear on the report.
DoCmd.OpenReport "rptDataSourceRankingCount s", acPreview, , , acWindowNormal,????
Sandra
DoCmd.OpenReport "rptDataSourceRankingCount
Sandra
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you did want to go the OpenArgs way, you would need to combine your strings into a single string first and assign it to OpenArgs. Then in your report you would need to add code to parse the string into its components. The previous method I mentioned is simpler.
ASKER
That did it and was simple, thank you.
Sandra
Sandra