R
Rob Nicholson
Consider a simple two table scenario like this:
Requests Table:
RequestID: AutoNumber (Unique ID)
PersonID: Number (Reference to record in People table)
People Table:
PersonID: AutoNumber (Unique ID)
Name: Text (Name of person)
Email: Text (Their email address)
A simple form is requested for the request table whereby the ID is shown along with a combo box to allow [Requests]![PersonID] to be filled in.
However, we'd like a non-editable textbox below the person combo box that shows the email field when a specific person is selected. This is, in effect, a lookup of a single record in [People] using the [Requests]![PersonID] field.
I'm suspecting it's a computed text box. I can do it using VBA to fire of an ADO/DAO query, maybe even using an Access query.
But is there a way to do it without having to resort to code?
Thanks, Rob.
Requests Table:
RequestID: AutoNumber (Unique ID)
PersonID: Number (Reference to record in People table)
People Table:
PersonID: AutoNumber (Unique ID)
Name: Text (Name of person)
Email: Text (Their email address)
A simple form is requested for the request table whereby the ID is shown along with a combo box to allow [Requests]![PersonID] to be filled in.
However, we'd like a non-editable textbox below the person combo box that shows the email field when a specific person is selected. This is, in effect, a lookup of a single record in [People] using the [Requests]![PersonID] field.
I'm suspecting it's a computed text box. I can do it using VBA to fire of an ADO/DAO query, maybe even using an Access query.
But is there a way to do it without having to resort to code?
Thanks, Rob.