Please I am trying to add another criteria the Ship City to query below but have not been successful;
RunTot: DSum("ShippingFee","Orders","DatePart('m', [OrderDate])<=" & [AMonth] & " And DatePart('yyyy',[OrderDate])<=" & [AYear] & "")
This works perfectly until i added the ship city criteria;
RunTot: DSum("ShippingFee","Orders",“[ship city]=”’&[ship city]&”’ And "DatePart('m', [OrderDate])<=" & [AMonth] & " And DatePart('yyyy',[OrderDate])<=" & [AYear] & "")
I need help, thanks
RunTot: DSum("ShippingFee","Orders","DatePart('m', [OrderDate])<=" & [AMonth] & " And DatePart('yyyy',[OrderDate])<=" & [AYear] & "")
This works perfectly until i added the ship city criteria;
RunTot: DSum("ShippingFee","Orders",“[ship city]=”’&[ship city]&”’ And "DatePart('m', [OrderDate])<=" & [AMonth] & " And DatePart('yyyy',[OrderDate])<=" & [AYear] & "")
I need help, thanks