J
Jon B
I am trying to use a DLOOKUP with the criteria being the contents of a
combo box. It works fine if the criteria relates to column(0) but I
cannot get it to work for any other column.
Normally, DLOOKUP("[Field]", "Table",
"[Field]=[forms]![formname]![cboName]") is OK, but not if the criteria
is [Field]=[forms]![formname]![cboName.column(2)]
I have tried other bracketing options, but no luck. What is the
correct syntax please?
Thanks.
combo box. It works fine if the criteria relates to column(0) but I
cannot get it to work for any other column.
Normally, DLOOKUP("[Field]", "Table",
"[Field]=[forms]![formname]![cboName]") is OK, but not if the criteria
is [Field]=[forms]![formname]![cboName.column(2)]
I have tried other bracketing options, but no luck. What is the
correct syntax please?
Thanks.