G
Guest
Let's say i have a form named "d_elist" and a report named the same (d_elist).
Let's say that the form is opened.
Is there a way to make a macro (or VB code) that when run opens the report
with the same name as the opened form (like d_elist), if any?
aka all my forms have a corresponding report with the same as the form. I
want to make a generic macro that opens the report with the same name of the
opened report.
Why? to filter the report without having to make seperate queries or forms
to design & apply a filter.
PS Any other way to come around this is welcome.
PS 2 Is there a way to implicitly call a property's value from a macro? aka
it is possible to implicitly call a field for the active object such as
[namefield] but is it possible for a property value?
Let's say that the form is opened.
Is there a way to make a macro (or VB code) that when run opens the report
with the same name as the opened form (like d_elist), if any?
aka all my forms have a corresponding report with the same as the form. I
want to make a generic macro that opens the report with the same name of the
opened report.
Why? to filter the report without having to make seperate queries or forms
to design & apply a filter.
PS Any other way to come around this is welcome.
PS 2 Is there a way to implicitly call a property's value from a macro? aka
it is possible to implicitly call a field for the active object such as
[namefield] but is it possible for a property value?