Hello!
I use a control containing the following DSum function in my form: (Norwegian character set)
=DSum("[Sum]";"QueryArbeidsdetaljer";"[ArbeidsavtaleID]=Forms!Arbeidsavtale!ArbeidsavtaleID")
Here my main form is "Arbeidsavtale" and my subform is "QueryArbeidsdetaljer"
In the subform I have a field named "Oppgaveområde"
Now I want to add a new control containing a Dsum fiunction on my form as above, but this time I only want it to sum the records from "Oppgaveområde" that contains the text "Kulturskole"
I guess I have to put in "Like Kulturskole" somewhere, but I have not any clue how to do it and where to put it.
Likewise I want a third control with a Dsum function that sums everything but "Kulturskole".
You may also take a look at the image I have attatched.
Can anyone help me?
Regards
Børge
Norway