A
Albert D.Kallal
Hum, what you have looks ok.
Of course, most form code can use "me", which represents the current form.
So, you code could be:
Call ProcessStuff(me)
Sub ProcessStuff(frmPassed as Form)
Dim x as string
x = frmPassed!txtXYZ
End Sub
Hum, assuming that txtXYZ is on the form, then the above should work....
Of course, most form code can use "me", which represents the current form.
So, you code could be:
Call ProcessStuff(me)
Sub ProcessStuff(frmPassed as Form)
Dim x as string
x = frmPassed!txtXYZ
End Sub
Hum, assuming that txtXYZ is on the form, then the above should work....