I m using Access 2010. I m Facing a problem in the undermentioned query
OPB: 1*Nz(DSum("[Trans]","LogDetail","[LocationID]='" & [LocationID] & "' AND [ProductID]='" & [ProductID] & "' AND [LogDate]<#" & Format([FromDt],"dd-mm-yy") & "#"),0)
when i run the query it gives "Undefined Function 'Format' in Expression"
I will be very thankful if someone let me know where is the mistake and what is the correct express.