DSUM HEEEEELP!!!!Please!!!! (1 Viewer)

Milan

Registered User.
Local time
Today, 20:57
Joined
Feb 17, 2002
Messages
85
why is this not working!!!

Me!ACTUALSD7 = DSum("[Actualscore]", "TblComplianceLine", _
"[Process] = 'SD' AND [AuditDate] = '"&xdt&",'")

Would be grateful for the solution!!!


milan
 

Travis

Registered User.
Local time
Today, 12:57
Joined
Dec 17, 1999
Messages
1,332
is this a Date or a text field ...[AuditDate] = '"&xdt&"


If its a Date Use th # instead of '.
 

pdx_man

Just trying to help
Local time
Today, 12:57
Joined
Jan 23, 2001
Messages
1,347
Me!ACTUALSD7 = DSum("[Actualscore]", "TblComplianceLine", _
"[Process] = 'SD' AND [AuditDate] = #" & xdt & "#")

assuming xdt is a valid date datatype

HTH
 

Users who are viewing this thread

Top Bottom