G
George
Hello,
I have a Table, LAWYERS, which has the following fields:
LawyerID, FirstName, LastName and CompanyName among
others.
I have a JointTable with the following fields: CaseID,
LawyerID and WorfFor.
What I want to do is to load the LawyerID in the
JointTable but scrolling down a list that contains
FirstName, LastName and CompanyName fields from LAWYERS
Table. Just display those values in the list and then
return the LawyerID associated with those fields to be
stored in the JointTable.
I saw the same example in Northwind, when they display
products descriptions but they store productID.
How do I do this?
I've been trying many SQL queries in the Row Source, and
then changing Control Source but nothing seems to work.
Am I just doing something wrong? or I can't do what I
want to do with this structure of tables?
Thank you,
George
PS: the last Row Source SQL query I used is
SELECT Lawyers.LastName, Lawyers.FirstName,
Lawyers.CompanyName FROM Lawyers;
I saw in Northwind that they used SELECT DISTINCT [], [],
[]..... but I don't know how it works.
Thank you in advance for any clue
I have a Table, LAWYERS, which has the following fields:
LawyerID, FirstName, LastName and CompanyName among
others.
I have a JointTable with the following fields: CaseID,
LawyerID and WorfFor.
What I want to do is to load the LawyerID in the
JointTable but scrolling down a list that contains
FirstName, LastName and CompanyName fields from LAWYERS
Table. Just display those values in the list and then
return the LawyerID associated with those fields to be
stored in the JointTable.
I saw the same example in Northwind, when they display
products descriptions but they store productID.
How do I do this?
I've been trying many SQL queries in the Row Source, and
then changing Control Source but nothing seems to work.
Am I just doing something wrong? or I can't do what I
want to do with this structure of tables?
Thank you,
George
PS: the last Row Source SQL query I used is
SELECT Lawyers.LastName, Lawyers.FirstName,
Lawyers.CompanyName FROM Lawyers;
I saw in Northwind that they used SELECT DISTINCT [], [],
[]..... but I don't know how it works.
Thank you in advance for any clue