Passing a data source from one form to another form(or Report)

Hi experts,

I want to pass a datasource from a form to a report as a parameter. If it is possible, please post the options I can have?

Thanks in advance.

Chiranjeevi

Yes, you can pass a reference to an object (data source) between other objects (two forms). The target object can expose a method accepting the reference or it can call a method of a source object returning the reference.

Note that forms are not types and therefore you can’t use them in type-safe manner. If you do anything more complex, do it in classes, not directly on forms.