i have some forms. in one form i have only one textbox and one commad button.
if i enter one form name and click the button i need to open that fom.
example.
my form names are "account", "invoice", "report" and one mainform
i main form i have one textbox
if i enter a form name in textbox and click the command button. i need to
open that form.if i enter another form name and click the same button i need
to open the another form. how can i create this one. please give the code and
sample for above question.
thanking you
rajeev
Rick Brandt - 06 Jan 2007 14:28 GMT
> i have some forms. in one form i have only one textbox and one commad
> button. if i enter one form name and click the button i need to open
[quoted text clipped - 7 lines]
> thanking you
> rajeev
DoCmd.OpenForm Me!TextBoxName

Signature
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com