Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / January 2007

Tip: Looking for answers? Try searching our database.

how to open a form based on the text value in access 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
rajeev - 06 Jan 2007 14:10 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 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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.