A
Aldo
Hi guys,
I am working on MS Access 2007. I am new to access.
I have two tables, as described below:
Table "People" with the fields:
PeopleID - Automatic Number
FirstName - Text
LastName - Text
SexID - Integer
Table "Sex" with the fields:
SexID - Automatic Number
SexDes - Text
I did not create any relationship between the tables.
I have the query "PeopleSex" as follows:
SELECT
People.LastName, People.FirstName, Sex.SexDes, People.PeopleID,
People.SexID
FROM People LEFT JOIN Sex ON People.SexID=Sex.SexID
ORDER BY People.LastName, People.FirstName;
And the query "GetSex" as follows: SELECT Sex.SexDes FROM Sex;
I need to create a Form that allows me to insert / update:
LastName, FirstName, SexDes
SexDes must be combo box (with the options existing in table "Sex").
I succeded creating the form (based on the query), but when changing the sex
for a specific record, the change is reflected in "Sex" table, instead of in
"People" table.
What I am missing?
Thanks in advance,
Aldo.
I am working on MS Access 2007. I am new to access.
I have two tables, as described below:
Table "People" with the fields:
PeopleID - Automatic Number
FirstName - Text
LastName - Text
SexID - Integer
Table "Sex" with the fields:
SexID - Automatic Number
SexDes - Text
I did not create any relationship between the tables.
I have the query "PeopleSex" as follows:
SELECT
People.LastName, People.FirstName, Sex.SexDes, People.PeopleID,
People.SexID
FROM People LEFT JOIN Sex ON People.SexID=Sex.SexID
ORDER BY People.LastName, People.FirstName;
And the query "GetSex" as follows: SELECT Sex.SexDes FROM Sex;
I need to create a Form that allows me to insert / update:
LastName, FirstName, SexDes
SexDes must be combo box (with the options existing in table "Sex").
I succeded creating the form (based on the query), but when changing the sex
for a specific record, the change is reflected in "Sex" table, instead of in
"People" table.
What I am missing?
Thanks in advance,
Aldo.