Link to home
Start Free TrialLog in
Avatar of eeevbeee
eeevbeee

asked on

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?
Avatar of Paurths
Paurths

hi eeevbeee,

i dont think so.
OpenArgs only applies to forms.

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


cheers
Ricky
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
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)
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
ops im thinking in the other side sorry guys
Avatar of eeevbeee

ASKER

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.
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)
ASKER CERTIFIED SOLUTION
Avatar of perove
perove
Flag of Norway image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial