J
Junior
Hi- Setting a variable value using DLookup with a query - because i can't
seem to get the Where statement correct
I've provided the Dlookup and the Query SQL below - How can i use where in
the Dlookup to eliminate the query and pull the value directly from the
table? thanks for any help.
strDataDoc = DLookup("DataPath", "QLtrPathEOD")
QLtrPathEOD SQL:
SELECT TlkpLetter.LTRID, TlkpLetter.LTRPath, TlkpLetter.DataPath
FROM TlkpLetter
WHERE (((TlkpLetter.LTRID)="S"));
seem to get the Where statement correct
I've provided the Dlookup and the Query SQL below - How can i use where in
the Dlookup to eliminate the query and pull the value directly from the
table? thanks for any help.
strDataDoc = DLookup("DataPath", "QLtrPathEOD")
QLtrPathEOD SQL:
SELECT TlkpLetter.LTRID, TlkpLetter.LTRPath, TlkpLetter.DataPath
FROM TlkpLetter
WHERE (((TlkpLetter.LTRID)="S"));