Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

control as function parameter 1

Status
Not open for further replies.

andzejek

MIS
Sep 1, 2007
154
US
How to pass a name of the control to the function which will check if this control is null.

Andrew
 
How do you mean?

[tt]Call fChk Me, "AControlName"

Function fChk(frm As Form, ctl As String)
MsgBox frm(ctl).Value & ""
End Function[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top