A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Open a form from combo box selection



 
 
Thread Tools Display Modes
  #1  
Old December 9th, 2005, 03:42 PM
omneo omneo is offline
Member
 
First recorded activity by OfficeFrustration: Dec 2005
Posts: 3
Arrow 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  
Old December 9th, 2005, 04:27 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default 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

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 09:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.