query subform both
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Query or subform or both???

Query or subform or both???

resolvedResolved · Medium Priority · Version 2003

replyReply Tue 3 Aug 2010, 14:39Delegate Sarah said...

Sarah has attended:
Excel VBA Intro Intermediate course
Access Advanced course
Access Intermediate course

Query or subform or both???

I've got a form in access and it has an option to select a GP Practice code (I have the GP Practice Code table set up so am using that).

What I want to do, is when the user selects the GP Practice Code from the drop down list, I want the name of that Practice (which is in the GP Practice Code table) to pop up on my form.

How do I do this?

For upcoming training course dates see: Pricing & availability

replyReply Mon 9 Aug 2010, 13:25Trainer Simon said...

RE: Query or subform or both???

Hi Sarah,

Thank you for your question.

Sorry for the delay in responding.

Insert a combo box in the form header and use the wizard.

Select the option that says something like:

'Find a record on my form based on my selection'

2. Select the field that will display the GP Practice codes and add it.

3. On the final step rename the label to something like 'Select Practice code'

Then click Finish.

View the form and when you select a Code from the combo box, the records underneath should update.

I hope this has answered your question.

Regards

Simon

 

Please browse our web site to find out more about
microsoft access advanced training and other Microsoft training courses.

Access tip:

Insert The Current Time

To insert the current time into a Table field or Form textbox use:

Ctrl+Colon(:)

View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard