DSUM HEEEEELP!!!!Please!!!!

Milan

Registered User.
Local time
Today, 16:18
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
 
is this a Date or a text field ...[AuditDate] = '"&xdt&"


If its a Date Use th # instead of '.
 
Me!ACTUALSD7 = DSum("[Actualscore]", "TblComplianceLine", _
"[Process] = 'SD' AND [AuditDate] = #" & xdt & "#")

assuming xdt is a valid date datatype

HTH
 

Users who are viewing this thread

Back
Top Bottom