Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 655
  • Last Modified:

OpenArgs with Report ?

Can the OpenArgs property be used for Reports? I have not seen anything documented about this. But when I type openargs in the Code section of a Report Form it changes to OpenArgs. Anyone know anything about this?
0
eeevbeee
Asked:
eeevbeee
1 Solution
 
PaurthsCommented:
hi eeevbeee,

i dont think so.
OpenArgs only applies to forms.

i might be mistaken, but i never got this to work.


cheers
Ricky
0
 
senan072100Commented:
Ok what about creating one macro to open your report then save/export the macro to Visual Basic, try it this way if u faild just inform us so I can adviss somthing else.
Good luck
0
 
nico5038Commented:
I must agree with Ricky, as the report object doesn't have an OpenArgs property.

Remains the question why would you need it.

Passing data can be done using Global variables that are used in the OnOpen....

Nic;o)
0
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

 
senan072100Commented:
Ok what about creating one macro to open your report then save/export the macro to Visual Basic, try it this way if u faild just inform us so I can adviss somthing else.
Good luck
0
 
senan072100Commented:
ops im thinking in the other side sorry guys
0
 
eeevbeeeAuthor Commented:
nico5038

"Remains the question why would you need it."

well for same reason that you would need them for Forms. Of course you can use Global vars, but that's not the best choice.
0
 
nico5038Commented:
All my "communication" with a report is by means of the filter that's passed to limit the number of rows to display.
If you don't use that, (set FilterOn to False) then you're able to mis-use the Filter property of the form...

Nic;o)
0
 
peroveCommented:
OpenArgs on report was included in Access2002, so it depends on what version of access you have

perove
0
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.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now