DLookup Function

Novice1

Registered User.
Local time
Today, 10:29
Joined
Mar 9, 2004
Messages
385
I know how to use the DLookUp function in a report ...

=DLookUp("HeaderLine1","tblLetterHead","LetterheadID = 1")

Can I use with SendObject? I add the code (without = ) without success.

Any suggestions?
 
Assign a variant

Dim varX As Variant
varX = DLookup("ReturnEmail", "tblCritiques", "CritiqueID = 1")
 
Looks like you got it? You'd use that variable in SendObject.
 

Users who are viewing this thread

Back
Top Bottom