G
Guest
Background:
What I am trying to do is calculate a total for a field in a query that
meets the criteria set by the criteria argument of the dsum funtion. The
criteria is that the value of the field is only to be summed when the
production date equals the date entered on the form.
Error Message:
Syntax error (missing operator) in query expression '[JobStartDate]='
Details:
Query name: qryApplesKgUsed
Query field name: JobStartDate
Query field to be totaled: KgIssued
Form name: frmDailyProduction
Form field name: txtProductionDate
Syntax of funtion: =DSum("[KgIssued]","[qryApplesKgUsed]","[JobStartDate]="
& [Forms]![frmDailyProduction]![txtProductionDate])
If any one can help me I would greatly appreciate it.
Thanks,
FatMan
What I am trying to do is calculate a total for a field in a query that
meets the criteria set by the criteria argument of the dsum funtion. The
criteria is that the value of the field is only to be summed when the
production date equals the date entered on the form.
Error Message:
Syntax error (missing operator) in query expression '[JobStartDate]='
Details:
Query name: qryApplesKgUsed
Query field name: JobStartDate
Query field to be totaled: KgIssued
Form name: frmDailyProduction
Form field name: txtProductionDate
Syntax of funtion: =DSum("[KgIssued]","[qryApplesKgUsed]","[JobStartDate]="
& [Forms]![frmDailyProduction]![txtProductionDate])
If any one can help me I would greatly appreciate it.
Thanks,
FatMan