Dear All,
I have a report that contains several numeric fields for Blood tests. I am currently using the "TRIM" function to great success in the following format
=Trim("Last Bloods: " & [dtmBloodsLast] & " Hb " & [intHb] etc.....
However
When I try to Bracket out any fields that do not have a value in the table I get a #Type! Error
e.g.
=Trim("Last Bloods: " & [dtmBloodsLast] & (" Hb "+[intHb]))
Where intHb is a Number, field Size: Double, Format: General number
Similarly I have one or two fields which have + - characters in their name
e.g. intCa2+ (Calcium) which seem to throw a type error (inconsistently)
This works perfectly for text fields so was wondering if someone could enlighten me as to what I'm doing wrong and how I can achieve "skip this field if no value in the table - but display with Indicator (e.g. Hb for Haemoglobin) if value present".
Thanks!
I have a report that contains several numeric fields for Blood tests. I am currently using the "TRIM" function to great success in the following format
=Trim("Last Bloods: " & [dtmBloodsLast] & " Hb " & [intHb] etc.....
However
When I try to Bracket out any fields that do not have a value in the table I get a #Type! Error
e.g.
=Trim("Last Bloods: " & [dtmBloodsLast] & (" Hb "+[intHb]))
Where intHb is a Number, field Size: Double, Format: General number
Similarly I have one or two fields which have + - characters in their name
e.g. intCa2+ (Calcium) which seem to throw a type error (inconsistently)
This works perfectly for text fields so was wondering if someone could enlighten me as to what I'm doing wrong and how I can achieve "skip this field if no value in the table - but display with Indicator (e.g. Hb for Haemoglobin) if value present".
Thanks!