Hello Med.
Maybe you can complete the code checking all types that can be summed:
if (oField.datatype = ftinteger) then B1
else if (oField.datatype = ftcurrency) then B2
else if (oField.datatype = ftfloat) then B3
else if (oField.datatype = ftbcd) then B4
else if (oField.datatype = ftdate) then B5
else if (oField.datatype = fttime) then B6
else if (oField.datatype = ftdatetime) then B7
else error('That field cannot be summed');
(My 0.01 cent of course).
Fre;D
--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk