If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Open a form from combo box selection
hi
ive got a table with a list of site (e.g. clinic, hospital etc). i have a form that has a combo box that lists these site options. When the e.g. clinic is selected from the combo box, how do i make a form (for data input) come up. And similiarly do this for the other selections. There will be different form (therefore table) for each selection. thanks in advance omneo |
#2
|
|||
|
|||
Open a form from combo box selection
There are a couple of places you can do this, but the code will be the same
regardless of which place you do it. One would be in the After Update event of the combo box and the other would be in the Click event of a command button. The difference being that in the first case, the form will open immediately after making a selection in the combo box and in the second case, after the command button is clicked: DoCmd.Openform Me.Mycombobox "omneo" wrote: hi ive got a table with a list of site (e.g. clinic, hospital etc). i have a form that has a combo box that lists these site options. When the e.g. clinic is selected from the combo box, how do i make a form (for data input) come up. And similiarly do this for the other selections. There will be different form (therefore table) for each selection. thanks in advance omneo -- omneo |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Move feild entries from form to form using global variables | JackCGW | General Discussion | 11 | November 14th, 2005 05:22 AM |
Form won't open report from preview button | jwr | Using Forms | 5 | October 29th, 2005 04:53 PM |
Showing more than one column on a Form from a combo box | Roxanne | General Discussion | 1 | August 22nd, 2005 09:30 PM |
Combo Box Selection and form field population | Sean | Using Forms | 0 | August 4th, 2005 01:31 PM |
Need Help In Printing Current Record in Specific Report | RNUSZ@OKDPS | Setting Up & Running Reports | 1 | May 16th, 2005 09:06 PM |