P
paul.gunther
I have a form which is used to insert/edit into a table - sundry
fields on this form are populated via comboboxes (with underlying
queries which return an id field and a name field).
The underlying table has its own AutoNumber id and foreign key id's to
the fields populated by comboboxes.
Now, the issue I have discovered is that if the query to populate one
of these comboboxes as more complex than "normal" when I order by that
field (which gets internally/automatically converted into "order by
lookup_thingoId.name"), I lose the ability to edit or append records.
The two examples are these:
1/. The query to populate one combo box does a union - the id could be
a Vendor or a VendorLocation. I.e.: Some vendors don't have multiple
locations so the foreign key id could point to either table.
2/. The other combo box has a query which internally checks to see how
many records exist for a given name and appends a bit of extra text to
the returned name field if the count > 1. In other words, that query
joins to an aggregate query on the (foreign) table's id.
I would naively expect that because the queries in question are
internal to populating combo box contents, as opposed to the top-level
table, they should not make any difference to the editability of this
top-level?
Ideas, anyone?
Thanks in advance,
Paul.
fields on this form are populated via comboboxes (with underlying
queries which return an id field and a name field).
The underlying table has its own AutoNumber id and foreign key id's to
the fields populated by comboboxes.
Now, the issue I have discovered is that if the query to populate one
of these comboboxes as more complex than "normal" when I order by that
field (which gets internally/automatically converted into "order by
lookup_thingoId.name"), I lose the ability to edit or append records.
The two examples are these:
1/. The query to populate one combo box does a union - the id could be
a Vendor or a VendorLocation. I.e.: Some vendors don't have multiple
locations so the foreign key id could point to either table.
2/. The other combo box has a query which internally checks to see how
many records exist for a given name and appends a bit of extra text to
the returned name field if the count > 1. In other words, that query
joins to an aggregate query on the (foreign) table's id.
I would naively expect that because the queries in question are
internal to populating combo box contents, as opposed to the top-level
table, they should not make any difference to the editability of this
top-level?
Ideas, anyone?
Thanks in advance,
Paul.