Google Answers Logo
View Question
 
Q: Microsoft Access forms ( No Answer,   1 Comment )
Question  
Subject: Microsoft Access forms
Category: Computers > Programming
Asked by: carbon-ga
List Price: $5.00
Posted: 06 Jan 2004 21:09 PST
Expires: 05 Feb 2004 21:09 PST
Question ID: 293891
I have some tables in my database containing interviews with artists.
I have a table 'interview' that contains records with an artist id,
and a table 'interview_qa' that contains records with an interview id.

It would be very nice if my Access form worked such that a combo box
was populated with the names of the artists (I know how to do that
part) and that when an artist is selected, a list box is
populated with the interviews that artist has done (so SELECT blah
FROM interview WHERE artist_id=id_from_artist_combo_box). When an
interview has been selected, a datasheet should be populated with the
results of SELECT question, answer FROM interview_qa WHERE
interview_id=id_of_interview_from_list_box. That seems like an
intuitive way of editing this data.

But I do not understand how to get the id from the artist combo box,
or how to populate the interview list box with the right data when an
artist is selected.

I'm using Access 2003.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Microsoft Access forms
From: mustard3-ga on 09 Apr 2004 10:42 PDT
 
Hi carbon,

in form design view, select the combo box, press F4 to open
'properties', select 'Data' tab, go to 'Row Source' and click on '...'
button which appears to the right. It will open a query design window 
in which you can create a query which will return the necessary data.
When finished, simply try to close the query. When prompted with
something like "would you like to update query definition?", click
yes. You will be returned back to to the 'properties' in form design
mode with data source updated.

Cheers,

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy