S
stebro
I have a form named Testcase Summary which accesses the
Testcase_Summary database. I have a separate table I
want to use as a lookup table to convert a code from the
database to a description. Easy, right?
In the form there is a textbox that I want the
description to appear in. For the Control_Source I have
the following statement:
=DLookUp
("[test_phase_description]", "[lkup_test_phase_description
]", "[test_phase_id] = " & [ts_test_phase_id])
Where test_phase_description is the description I want
returned, and lkup_test_phase_description is the lookup
table, and test_phase_id is the field being searched on
the lookup table, and ts_test_phase_id is the code I am
passing to the lookup table from the Testcase_Summary
database.
The result is the #ERROR messaage when I run the form. I
have tried everything I can think of but cannot figure
out how to debug this. Everything looks exactly as in
the textbook.
Any help?
Thanks -
Steve
Testcase_Summary database. I have a separate table I
want to use as a lookup table to convert a code from the
database to a description. Easy, right?
In the form there is a textbox that I want the
description to appear in. For the Control_Source I have
the following statement:
=DLookUp
("[test_phase_description]", "[lkup_test_phase_description
]", "[test_phase_id] = " & [ts_test_phase_id])
Where test_phase_description is the description I want
returned, and lkup_test_phase_description is the lookup
table, and test_phase_id is the field being searched on
the lookup table, and ts_test_phase_id is the code I am
passing to the lookup table from the Testcase_Summary
database.
The result is the #ERROR messaage when I run the form. I
have tried everything I can think of but cannot figure
out how to debug this. Everything looks exactly as in
the textbook.
Any help?
Thanks -
Steve