[AccessD] Set Focus on Form from Standard Module

Dan Waters dwaters at usinternet.com
Mon Jun 4 16:32:35 CDT 2007


Arrrgh!  Syntax!

I have a procedure, called by different forms as a validation check of
sorts.

Public Sub TEST(cboPerson as ComboBox, frm as Form)

	'-- if things aren't right
	frm.cboPerson.SetFocus

End Sub

But of course this doesn't work.  What is the syntax?  Am I passing the
correct objects to the procedure?


Thanks!
Dan




More information about the AccessD mailing list