G
Guest
I have several forms that access the same table or queries based on the same
table, therefore with the same field names. I have the need to run a macro
with conditions that will open a form based on [FacilityNumber] on the new
form matching [FacilityNumber] on the currenly open form. I am using the
"Where" function of the "OpenForm" action to do this with the input of
[FacilityNumber]=[Forms]![NewWaste![FacilityNumber]
Since I need to do this same function from different forms is there anyway I
can reference the form name in the second part of the argument as a
variable, or the form that called the macro, without using VBA, in other
words within ACCESS itself?
Thanks for any help you can give.
table, therefore with the same field names. I have the need to run a macro
with conditions that will open a form based on [FacilityNumber] on the new
form matching [FacilityNumber] on the currenly open form. I am using the
"Where" function of the "OpenForm" action to do this with the input of
[FacilityNumber]=[Forms]![NewWaste![FacilityNumber]
Since I need to do this same function from different forms is there anyway I
can reference the form name in the second part of the argument as a
variable, or the form that called the macro, without using VBA, in other
words within ACCESS itself?
Thanks for any help you can give.