G
Guest
Hi all...
I am having problems with a database I am building for work. The form I am
creating contains questoins along with the requirements they fall under. To
select the requirments, I used a combo box which looks up the values in the
Requirements table. Next to the combo box is a text box which I want to
contain the name of the Requirement selected. To do this I used a "DLookUp"
function.
=DLookUp("[Requirement Name]","[ISO
Requirements]","[Requirement]=Forms![Questions Form].[Requirement]")
Here's the problem, this function only brings up the first name in the ISO
Requirements form in the Requirement name column, rather than relating the
content of the text box to the number selected in the combo box. Is my
function wrong? Am I doing something wrong?
Also, under each requirement there are sub requiremnts. Much like the
section on the form for Requirements, I have a section for sub-requirements.
I would like the combo box in the sub-requirements section to contain only
those subrequirements which fall under the requirement selected, rather than
the whole list of sub-requirements. Is this possible? If so how?
Thanks for the help
I am having problems with a database I am building for work. The form I am
creating contains questoins along with the requirements they fall under. To
select the requirments, I used a combo box which looks up the values in the
Requirements table. Next to the combo box is a text box which I want to
contain the name of the Requirement selected. To do this I used a "DLookUp"
function.
=DLookUp("[Requirement Name]","[ISO
Requirements]","[Requirement]=Forms![Questions Form].[Requirement]")
Here's the problem, this function only brings up the first name in the ISO
Requirements form in the Requirement name column, rather than relating the
content of the text box to the number selected in the combo box. Is my
function wrong? Am I doing something wrong?
Also, under each requirement there are sub requiremnts. Much like the
section on the form for Requirements, I have a section for sub-requirements.
I would like the combo box in the sub-requirements section to contain only
those subrequirements which fall under the requirement selected, rather than
the whole list of sub-requirements. Is this possible? If so how?
Thanks for the help