Msg Box will not display

R

Robert

I have a message box based upon this condition

DLookup("[fieldname]","tablename"=Date()

When using the step method in macro objects, I get a true
answer that returns. But, when activated on open report,
the message box does not display.

Any help is appreciated...
 
T

tina

if the syntax you entered matches what's in your macro,
then it appears the syntax is your problem. try this:

DLookup("[fieldname]","tablename","[datefieldname]=Date()")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Automation object errors 2
DLookup Two Fields 5
Trying to populate data using a Macro 3
MsgBox - autoexec macro 4
Msg Box Macro 3
macro events 5
Help with SetValue on a different field in a form 1
Combo Box 2

Top