Oct 31, 2002 #1 sisan Programmer Jan 9, 2002 39 ID Got a problem here... We can pass parameters to procedure or functions, but I do not know how to pass parameters to a forms, like what we do in VFP: Do Form MyForm With "Hi..." Can we do it in VB? Thank you.
Got a problem here... We can pass parameters to procedure or functions, but I do not know how to pass parameters to a forms, like what we do in VFP: Do Form MyForm With "Hi..." Can we do it in VB? Thank you.
Oct 31, 2002 #2 JohnYingling Programmer Mar 24, 2001 3,742 US I call a method in the form. Public Procedure Display(Acctno as string) mstrAcctNo = Acctno txtAcctNo.Text = Acctno Me.show End Sub http://www.VBResizer.com Forms/Controls Resizing/Tabbing Control http://www.VBCompare.com Compare Code (Text) http://www.VBSortGen.com Generate Sort Class in VB or VBScript Upvote 0 Downvote
I call a method in the form. Public Procedure Display(Acctno as string) mstrAcctNo = Acctno txtAcctNo.Text = Acctno Me.show End Sub http://www.VBResizer.com Forms/Controls Resizing/Tabbing Control http://www.VBCompare.com Compare Code (Text) http://www.VBSortGen.com Generate Sort Class in VB or VBScript
Oct 31, 2002 #3 quisar Programmer Aug 21, 2002 45 IN You can pass and return values to and from form also using set, get, let properties. Quisar Upvote 0 Downvote