No, don't add the tblPhones to the subform recordsource.
You need to add a DateEdited field to the junction table, that's the many
side of table phones.
--
Arvin Meyer, MCP, MVP
http://www.datastrat.com
http://www.mvps.org/access
http://www.accessmvp.com
I had trouble posting to the MS site. Gee Arvin, it sounds so simple
when
you
say it. When I try to do that I end up with problems. My form is called
frmPhones with a subform titled sfrmPhoneAssociations.
This is the SQL for frmPhones:
SELECT tblPhones.PhoneID, tblPhones.PhoneDescription,
tblPhones.PhoneNumber,
tblPhones.PhoneType, tblPhones.EmpID, tblPhones.BuildingID, tblPhones.
DateCreated, tblPhones.DateEdited
FROM tblPhones
ORDER BY tblPhones.PhoneNumber;
This is the recordsource of the subform:
SELECT tblPhonesEmps.PhoneID, tblPhonesEmps.EmpID,
tblEmployees.FirstName,
tblEmployees.LastName
FROM tblEmployees INNER JOIN tblPhonesEmps ON tblEmployees.EmpID =
tblPhonesEmps.EmpID
ORDER BY tblEmployees.LastName;
tblPhonesEmps is the juction table. If I understand you correctly, I
need
to
add DateEdited (located in tblPhones) to the recordsource of
sfrmPhoneAssociations, correct? When I try to add tblPhones (the table
that
has the DateEdited field), I no longer see the records that are
returned
in
datasheet view. It's now blank.
Arvin Meyer [MVP] wrote:
The subform has multiple records, so you should write to the
table/query
which is the recordsource of that form. Use the same code in the
subform,
just add the field to that underlying table.
I'm sorry to just jump into your post Antavas but I have a similar
question
[quoted text clipped - 39 lines]
Is this possible and if so how can I do it?
--
.