C
Christine
I haven't found anyplace that really explains how to
write expressions, so some general logic would be helpful.
For example, let's say I have a form called FrmA. In it,
the user enter selects a name from a combo box that is
based on a query:
SELECT qryEmployees.EmployeeID, qryEmployees.FullName
FROM qryEmployees;
The EmployeeID is stored in TblA in a field called
EmployeeID.
On FrmA, I want to get the phone number from tblEmployees
that correspondes to EmployeeID, and display it on the
form.
So, how do you write the expression to do that: Help
doesn't explain exactly how to do it (at least in a way I
can understand). It would be nice to see the actual
expression for my example, along with an explantion of
why it is written the way it is, so I can do similar
things in the future.
Many thanks for your patience,
Christine
write expressions, so some general logic would be helpful.
For example, let's say I have a form called FrmA. In it,
the user enter selects a name from a combo box that is
based on a query:
SELECT qryEmployees.EmployeeID, qryEmployees.FullName
FROM qryEmployees;
The EmployeeID is stored in TblA in a field called
EmployeeID.
On FrmA, I want to get the phone number from tblEmployees
that correspondes to EmployeeID, and display it on the
form.
So, how do you write the expression to do that: Help
doesn't explain exactly how to do it (at least in a way I
can understand). It would be nice to see the actual
expression for my example, along with an explantion of
why it is written the way it is, so I can do similar
things in the future.
Many thanks for your patience,
Christine