In message <40***********************@mercury.nildram.net>, amian
<da********@ntlworld.com> writes
Cant find any info on how to add a simple VERTICAL column of figures in a
single field in Microsoft Access 2000 e.g as below
Item Cost.
2
4
6
8
4
3
I need a total sum of these values (ie 27 at the bottom - any idea how to do
this?
Personally I would try to get all of these values into separate records
of a table, but that might not be possible. You should be able to build
a string by concatenating text fields with the variable vbCRLF after
each new field.
outputstring = string1 & vbCRLF & string2 & vbCRLF
You need to handle the arithmetic separately. The precise structure of
the code will depend on whether the fields are numeric or text.
--
Bernard Peek
London, UK. DBA, Manager, Trainer & Author. Will work for money.