Hi all
I have a few forms that call a function in a module.
The call is changeaddr(me.form.name)
However in the module I want test conditions and then (if required) change values on the form that made the call.
In short, the function looks like:
Function ChangeAddr(FN as String)
If Not IsNull(Forms!FN![Property_commune_Name]) Then'
End function
The error that I get is : Cannot find the form FN
So how would I put the form name in dynamically?
I have a few forms that call a function in a module.
The call is changeaddr(me.form.name)
However in the module I want test conditions and then (if required) change values on the form that made the call.
In short, the function looks like:
Function ChangeAddr(FN as String)
If Not IsNull(Forms!FN![Property_commune_Name]) Then'
End function
The error that I get is : Cannot find the form FN
So how would I put the form name in dynamically?