D
Dane.
Hi everyone,
Firstly, my apologies about my terminology use...I'm an Access
beginner and still get quite confused with all the jargon.
OK, here's the situation:
* I have 2 tables in my database: a USERS Database and a CARD
Generator database.
- The USERS database contains records for people and has columns
containing information like first name, last name, contact number,
etc...
- The CARD database is a table which stores information (input by
the user) which is used to generate an identification card (for as
many people as input by the user, i.e.: stored in this table) via a
REPORT (using a query). This table has only a first and last name
column.
* What I'm trying to do is make a FORM which will source it's
information from the USERS table and store it in the CARD table:
- I have successfully setup a "Last Name" combo box to source it's
data from the "Last Name" section in my USERS table and save it into
to the CARD table.
- PROBLEM: How can I now make the "First Name" combo box in the CARD
form only display the "First Names" for those people matching the
"Last Name" field in this form (from the USERS table)?
* So, for example; if I have 3 people/records:
1) Joe Smith
2) Mary Smith
3 Bob Jones
When I select "Last Name" SMITH in the CARD FORM, it will only
display JOE and MARY in the "First Name" combo box (first and last
name sourced from the USERS table [and stored in the CARD table]).
I hope all this makes sense.....I do realise this is has probably
been asked many times, but after spending a long time searching on the
net I still don't know how to do this....
Any help is greatly appreciated.
Regards,
Dane.
Firstly, my apologies about my terminology use...I'm an Access
beginner and still get quite confused with all the jargon.
OK, here's the situation:
* I have 2 tables in my database: a USERS Database and a CARD
Generator database.
- The USERS database contains records for people and has columns
containing information like first name, last name, contact number,
etc...
- The CARD database is a table which stores information (input by
the user) which is used to generate an identification card (for as
many people as input by the user, i.e.: stored in this table) via a
REPORT (using a query). This table has only a first and last name
column.
* What I'm trying to do is make a FORM which will source it's
information from the USERS table and store it in the CARD table:
- I have successfully setup a "Last Name" combo box to source it's
data from the "Last Name" section in my USERS table and save it into
to the CARD table.
- PROBLEM: How can I now make the "First Name" combo box in the CARD
form only display the "First Names" for those people matching the
"Last Name" field in this form (from the USERS table)?
* So, for example; if I have 3 people/records:
1) Joe Smith
2) Mary Smith
3 Bob Jones
When I select "Last Name" SMITH in the CARD FORM, it will only
display JOE and MARY in the "First Name" combo box (first and last
name sourced from the USERS table [and stored in the CARD table]).
I hope all this makes sense.....I do realise this is has probably
been asked many times, but after spending a long time searching on the
net I still don't know how to do this....
Any help is greatly appreciated.
Regards,
Dane.