R
RoBo
Who can give me a hand?
I am using the function below; so far so good.
DAvg("[wng_OPP_SLPK1]";"TBL_Woningen";"[wng_CFT Code] = """ & [pdt_CFT code]
& """")
Now I need to generate a sum on a field that contains the value "J". How can
I change the function:
Sum(IIf([TBL_Woningen]![wng_COD_INDCV]="J";1;0))
into a
DSum function where the field to sum is wng_COD_INDCV (with the text "J"),
the table TBL_Woningen and the criteria [wng_CFT Code] = """ & [pdt_CFT code]
& """"
I can not seem to get the syntax right.
Ron
I am using the function below; so far so good.
DAvg("[wng_OPP_SLPK1]";"TBL_Woningen";"[wng_CFT Code] = """ & [pdt_CFT code]
& """")
Now I need to generate a sum on a field that contains the value "J". How can
I change the function:
Sum(IIf([TBL_Woningen]![wng_COD_INDCV]="J";1;0))
into a
DSum function where the field to sum is wng_COD_INDCV (with the text "J"),
the table TBL_Woningen and the criteria [wng_CFT Code] = """ & [pdt_CFT code]
& """"
I can not seem to get the syntax right.
Ron