K
KK
Hello,
I have a table 'Staff' whose fields include 'Location'.
In Field Properties, under Lookup, I like to use a combo box with " SELECT
DISTINCT Staff.Location FROM Staff; " in 'Row Source' , with 'Limit to List'
set to 'No', which provides a drop-down box for input with a list of
locations already used, plus the option of adding a new one.
A minor problem is that if I copy the text " SELECT DISTINCT Staff.Location
FROM Staff; " to another field, or if I change the table or field names, I
have to edit the text. This is OK, but is there a more general version of
the SELECT statement which automatically picks up the current table and
field names?
Thanks
KK
I have a table 'Staff' whose fields include 'Location'.
In Field Properties, under Lookup, I like to use a combo box with " SELECT
DISTINCT Staff.Location FROM Staff; " in 'Row Source' , with 'Limit to List'
set to 'No', which provides a drop-down box for input with a list of
locations already used, plus the option of adding a new one.
A minor problem is that if I copy the text " SELECT DISTINCT Staff.Location
FROM Staff; " to another field, or if I change the table or field names, I
have to edit the text. This is OK, but is there a more general version of
the SELECT statement which automatically picks up the current table and
field names?
Thanks
KK