Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

query subform both

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

Query or subform or both???

ResolvedVersion 2003

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?

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

Access tip:

Switchboard Startup

An option when you open your Access database that contains all of you tables, forms and queries is only the switchboard is displayed.

To achieve this, select Tools click on Startup. On the right hand side of the Startup screen you are able to select which form you want to open when you open you Access Database. Once you have selected this, there is a check box just below that says "Display Database Window", you need to uncheck this option. Then click ok.

Then when you close you Access database and re open it, the database should open with just the switchboard being shown


View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.13 secs.