Connecting Tech Pros Worldwide Help | Site Map

Opening a form based on user selection in combo boxes

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 11:14 AM
jon.ingram@us.ing.com
Guest
 
Posts: n/a
Default Opening a form based on user selection in combo boxes

I have a main menu that contains 2 drop down boxes.

Drop down 1 contains:
BSL
USL

Drop down 2 contains:
1
2
3
4

Now I have 8 different forms which can be selected next based on the
comboniation selected above. How do I program this to navigate
properly? Any thoughts...


  #2  
Old November 13th, 2005, 11:14 AM
pietlinden@hotmail.com
Guest
 
Posts: n/a
Default Re: Opening a form based on user selection in combo boxes

use a select case to set up the possible choices is one way....

If cbo1="BSL" then
select case cbo2
case 1
docmd.open form "form1"
case 2
docmd.openform "form2"
...
case else
docmd.openform "form4"
else
select case cbo2
docmd.openform "form5"
etc...
end if

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.