DBServices
Programmer
I have 3 unbound combo boxes on a form. All three have multiple columns and the third column of each combo box has a price field. All but one column have a column width of 0 so the only field being shown is the "Name" field. In my forms footer section I have a text box that I want to show a total of all three combo boxes after they are selected. Now, they might not all have a selection so there might be a null value in one or more or in all of them. In my text box's Control Source I have =Sum([cboWith].[column](2)+[cboNoItem].[column](2)+[cboExtraItem].[column](2)) and this produces "#Error". I read in the help files that the sum function ignores null values so the nz function isn't needed although i have tried that for each text box in hopes of getting rid of the error but no such luck. =Sum(nz([cboWith].[column](2))+nz([cboNoItem].[column](2))+nz([cboExtraItem].[column](2))) was what I used and it's an error as well. I also tried =[cboWith].[column](2)+[cboNoItem].[column](2)+[cboExtraItem].[column](2) but that just concatenates the fields...Can someone PLEASE tell me what I am missing??? Thank you in advance...Dannie.