P
PH
Dears,
Good morning.
Could you please help me to create a list of values?
I have two fields in a form and sub-form (Form1.GOVERNANCE and Form2.GATE).
And I have a table (DELIVERABLES) that has this two fields and another field
called DELIVERABLE.
For each GOVERNANCE + GATE, I have a list of DELIVERABLES.
I need to populate a list box (Form2.DELIVERABLE) in the form and I tried to
do it, using the DLookup function bellow:
Dim XGovernance As String
Dim XGate As String
XGovernance = Form_1.GOVERNANCE
XGate = F2.GATE
Form2.DELIVERABLE = DLookup("[DELIVERABLE]", "[DELIVERABLES]", _
"GOVERNANCE=[XGovernance] AND GATE=[XGate]")
However, the DLookup function is used for just one value.
How can I do it?
Could you please, help me?
Thanks and regards.
PH.
Good morning.
Could you please help me to create a list of values?
I have two fields in a form and sub-form (Form1.GOVERNANCE and Form2.GATE).
And I have a table (DELIVERABLES) that has this two fields and another field
called DELIVERABLE.
For each GOVERNANCE + GATE, I have a list of DELIVERABLES.
I need to populate a list box (Form2.DELIVERABLE) in the form and I tried to
do it, using the DLookup function bellow:
Dim XGovernance As String
Dim XGate As String
XGovernance = Form_1.GOVERNANCE
XGate = F2.GATE
Form2.DELIVERABLE = DLookup("[DELIVERABLE]", "[DELIVERABLES]", _
"GOVERNANCE=[XGovernance] AND GATE=[XGate]")
However, the DLookup function is used for just one value.
How can I do it?
Could you please, help me?
Thanks and regards.
PH.