S
simonc
I am designing a form to input data to a table. In one
combo box I can select a number from the Primary key field
of a different table. In another text box I want to
display automatically a text field from the other table
which corresponds to the primary key number. All my
attempts at putting in an expression for the Control
Source of this text box result in the box displaying
#Name?
What is the correct syntax?
Attempts:
= SELECT «Expr» [Shareholders]![Shareholder] WHERE «Expr»
[Shareholders]![Share certificate no] = [Share Certificate
no]
= (SELECT «Expr» [Shareholders]![Shareholder] WHERE «Expr»
[Shareholders]![Share certificate no] = [Share Certificate
no])
combo box I can select a number from the Primary key field
of a different table. In another text box I want to
display automatically a text field from the other table
which corresponds to the primary key number. All my
attempts at putting in an expression for the Control
Source of this text box result in the box displaying
#Name?
What is the correct syntax?
Attempts:
= SELECT «Expr» [Shareholders]![Shareholder] WHERE «Expr»
[Shareholders]![Share certificate no] = [Share Certificate
no]
= (SELECT «Expr» [Shareholders]![Shareholder] WHERE «Expr»
[Shareholders]![Share certificate no] = [Share Certificate
no])