K
Karen
When trying to use the following statement
If DLookup("[fldcode]", "tblReagents", "[fldcode] <> Forms![frm shelflifedialog box]!Text0")
Access always returns
Runtime Error 13 Type Mismatch.
However when I change the statement to
If DLookup("[fldcode]", "tblReagents", "[fldcode] = Forms![frm shelflifedialog box]!Text0")
using the equals sign rather than <>
IT WORKS!
Why?
(I'm using Access 2002 on a Win 2000 Pro machine)
Thanks for helping clear this up.
Karen
If DLookup("[fldcode]", "tblReagents", "[fldcode] <> Forms![frm shelflifedialog box]!Text0")
Access always returns
Runtime Error 13 Type Mismatch.
However when I change the statement to
If DLookup("[fldcode]", "tblReagents", "[fldcode] = Forms![frm shelflifedialog box]!Text0")
using the equals sign rather than <>
IT WORKS!
Why?
(I'm using Access 2002 on a Win 2000 Pro machine)
Thanks for helping clear this up.
Karen