Full Version: Copied Report, Mismatched Openargs
UtterAccess Discussion Forums > Microsoft® Access > Access Reports
dwlebo
I copied a report to a new name - rptPropsal to rptProposalA.
Now when I run rptProposalA I get a "Enter Parameter Value" msgbox for Reports!rptProposal.openargs - this is looking for the me.id being passed from the calling form, but I cannot find the request for the openargs ANYWHERE in the reports. I have combed the code with both F8 debug and Ctrl-F finds, but I cannot locate it anywhere. There is only one query that is run against the dataset, and it uses the me.id straight from my code. Also, as a note, the msgbox pops during F8 debug stepping, AFTER the last of the code has run setting up the coded areas of the report -
To open the report I am running:
CODE
...        
        Case GetUserID("UserA"):
            DoCmd.OpenReport "rptProposalA", acViewPreview, , , , Me.ID
        Case Else
            DoCmd.OpenReport "rptProposal", acViewPreview, , , , Me.ID
...

There are several places the reports are different, so no it is not an option to put case(s) within the single report to differentiate -
My question is there anyway to view all the parameters of the reports and forms? besides the 2 I mentioned above -
Any help is greatly appreciated!
Drew
dwlebo
Solved- Sorry, can't figure out how to delete this post.
Peace
dwlebo
Solved- Sorry, can't figure out how to delete this post.
Peace
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.