Hi
Jeg am using Dsum to sum values in a table which should be written back on the form
If it does not have a value or is null then it should write 0 (zero) to the form
I have tried dsum which does not work, I tried isnull, isempty, len to see if it would display null when its supposed to be null but it is not displaying anything. If it has a value it works fine.
I also have tried NZ and Cint(NZ(...,0) which also did not work.
DSum("[actvol]", "DBNAme", "[Maand] = " & Forms!frmDBAdmin!cboChooseMonthLoad.Value & " AND [TabelNo] = '" & varTableNo & "' AND [Jaar] = 2010)
Anybody has an idea ?
Jeg am using Dsum to sum values in a table which should be written back on the form
If it does not have a value or is null then it should write 0 (zero) to the form
I have tried dsum which does not work, I tried isnull, isempty, len to see if it would display null when its supposed to be null but it is not displaying anything. If it has a value it works fine.
I also have tried NZ and Cint(NZ(...,0) which also did not work.
DSum("[actvol]", "DBNAme", "[Maand] = " & Forms!frmDBAdmin!cboChooseMonthLoad.Value & " AND [TabelNo] = '" & varTableNo & "' AND [Jaar] = 2010)
Anybody has an idea ?