Hi
I have a report with 6 columns. At the bottom of these colums I have fields which total each. I have done this in the Detail_Format section in vba using the code format:
txtTotal = ([FieldName1]+[Fieldname2]+[FieldName3])
This works perfectly fine for the first column but in subsequent columns it treats as a string (eg 1+1 = 11). I have checked everything I can think of and nothing is different with these columns to the first. I have tried deleting and starting from scratch but it still doesnt' work.
Does anyone have any ideas?
Thanks
Louise
I have a report with 6 columns. At the bottom of these colums I have fields which total each. I have done this in the Detail_Format section in vba using the code format:
txtTotal = ([FieldName1]+[Fieldname2]+[FieldName3])
This works perfectly fine for the first column but in subsequent columns it treats as a string (eg 1+1 = 11). I have checked everything I can think of and nothing is different with these columns to the first. I have tried deleting and starting from scratch but it still doesnt' work.
Does anyone have any ideas?
Thanks
Louise