Hi all,
trying to write a DLookup wher it pulls up the first record that has a value that is not Null. The code is as below:
strValue = DLookup("[FieldName]", "MyQuery", "[FieldValue]=Is Not Null")
but I am getting a syntax error message. I suspect I am coding this wrong, can anyone point me in the right direction please?
Thanks in advance,
Mitch.
trying to write a DLookup wher it pulls up the first record that has a value that is not Null. The code is as below:
strValue = DLookup("[FieldName]", "MyQuery", "[FieldValue]=Is Not Null")
but I am getting a syntax error message. I suspect I am coding this wrong, can anyone point me in the right direction please?
Thanks in advance,
Mitch.