L
Larry Lutz
I'm using Access 2003, but have to keep in 2000 file format for
compatibility purposes. I have a field in a table that needs to store the ID
(autonumber) of one and only one other record in the same table. The ideal
thing would be to use a combo box, but try as I might, Access will not let
me put a combo box on a form whose record source is the same as the table
the form is built on. I've tried building the combo box on a query and on a
SQL string; I've tried building the form on a query. No matter what I do,
Access catches me and refuses to allow a combo box record source that has
anything to do with a table involved with the form.
This is a strictly one-to-one relationship, a kind of self-join, so using a
subform just seems way to clumsy, especially for a form that already has its
share of subforms.
Is there any way to build such a combo box, one that refers back to the
table on which the form is built?
Larry
compatibility purposes. I have a field in a table that needs to store the ID
(autonumber) of one and only one other record in the same table. The ideal
thing would be to use a combo box, but try as I might, Access will not let
me put a combo box on a form whose record source is the same as the table
the form is built on. I've tried building the combo box on a query and on a
SQL string; I've tried building the form on a query. No matter what I do,
Access catches me and refuses to allow a combo box record source that has
anything to do with a table involved with the form.
This is a strictly one-to-one relationship, a kind of self-join, so using a
subform just seems way to clumsy, especially for a form that already has its
share of subforms.
Is there any way to build such a combo box, one that refers back to the
table on which the form is built?
Larry