D
Daniel Zazula
If this is not the correct newsgroup please direct my to the right
one.
I'm extending a legacy application at my work and I've created a macro
that perform a specific task, there are two different forms that can
call this macro, only one of them will be open at the moment the macro
is called, for the macro to perform his task the first query of the
macro needs a ID number from one of the forms. So is there a way to
test which one of the forms are open? Something like:
case
when IsOpen(Forms.Form1) then Forms.Form1.ID
when IsOpen(Forms.Form2) then Forms.Form2.ID
end as MyID
one.
I'm extending a legacy application at my work and I've created a macro
that perform a specific task, there are two different forms that can
call this macro, only one of them will be open at the moment the macro
is called, for the macro to perform his task the first query of the
macro needs a ID number from one of the forms. So is there a way to
test which one of the forms are open? Something like:
case
when IsOpen(Forms.Form1) then Forms.Form1.ID
when IsOpen(Forms.Form2) then Forms.Form2.ID
end as MyID