Why should you ever need to edit queries that have more than a couple tables?
Thanks for the reply...
Well... I have a continuous subform (for data entry)
formatted like a datasheet, with a couple of buttons on each
row for opening popup forms that hold related data.
It would be very nice for data-entry folks to be able to see
which rows in the subform have any associated records in the
related tables populated by the popup forms, without having
to pop the forms open. This comes in handy for checks and
edits (and may have to add a skipped record here and there),
and making sure that the data you're putting in hasn't been
done already, etc.
I changed the form-launching buttons to textboxes with
OnClick code, so I could format them. Then I added the
tables behind the popup forms to the query behind the
subform with outer joins. In the query grid, I put
"IIf(IsNull([Popup1Id]),"","DataExists") statements so that
I'd have something for the "buttons'" conditional formatting
to chew on.
When I do that for just one of the popup buttons, all is
well. But when I add the other table for the 2nd popup
button, I can not add records to the query (or the subform).
Marshall Barton was coaching me on this, and he said he has
no problem updating queries with three tables involved.
Today I made a test mdb as simple as I could make it, with
three related tables. I could not find any way to get all
three tables into a query, and still be able to add records
to it. Hence my question above.
Using forms with subforms and combo boxes generally limits my forms to record
sources with only a single table.
If you have more tables, they must be linked based on primary and foreign
key fields.
Yup.
I hope this makes sense--I'm fading fast.