revans611's avatar
revans611
Copper Contributor
Mar 10, 2022
Status:
New

Change MS Access report.openargs to allow a user defined type in addition to a string

In an Access application that I am currently working on, I would like to pass a class (user defined type) as a report.openargs argument.  This would allow me to bypass a recordsource bound to a table or query and not have to hit the database for a source. Currently, Access allows only a string as an argument.

 

for example:

Dim myClass as clsMyClass

 

set myClass = Me.Openargs

No CommentsBe the first to comment