Hi,
I'm trying to concatenate 4 database fields (Data1 Data2...) into one formula field for a report. Each field is varchar 255. Data1 cannot be null, but the others can. I wrote this formula and it works until it hits a large record and I get the following error: A string can be at most 254 characters. I thought you can make a formula field much larger than that.
My formula is as follows:
Mid({b32_data_link_bk.data1}, 32, 219)+
if isnull({b32_data_link_bk.data2})
then "" else
trimright({b32_data_link_bk.data2}) +
if isnull({b32_data_link_bk.data3})
then "" else
trimright({b32_data_link_bk.data3}) +
if isnull({b32_data_link_bk.data4})
then "" else
trimright({b32_data_link_bk.data4})
I've used Auto grow in format but that doesn't help.
Any suggestions to make it work? Thanks.
Don Saluga
Database Manager
Vector Security
I'm trying to concatenate 4 database fields (Data1 Data2...) into one formula field for a report. Each field is varchar 255. Data1 cannot be null, but the others can. I wrote this formula and it works until it hits a large record and I get the following error: A string can be at most 254 characters. I thought you can make a formula field much larger than that.
My formula is as follows:
Mid({b32_data_link_bk.data1}, 32, 219)+
if isnull({b32_data_link_bk.data2})
then "" else
trimright({b32_data_link_bk.data2}) +
if isnull({b32_data_link_bk.data3})
then "" else
trimright({b32_data_link_bk.data3}) +
if isnull({b32_data_link_bk.data4})
then "" else
trimright({b32_data_link_bk.data4})
I've used Auto grow in format but that doesn't help.
Any suggestions to make it work? Thanks.
Don Saluga
Database Manager
Vector Security