this works:
CAST(field1 AS varchar(10)) + ' (' + CAST(field2 AS varchar(10)) + '%)' AS ShowText
and returns: "12 (5%)"
but it should be "12 (+5%)", so I added the +-sign and then it doesn't work at all:
CAST(field1 AS varchar(10)) + ' (+' + CAST(field2 AS varchar(10)) + '%)' AS ShowText
and returns: "12"
Bug (?!): can not add '+' in sql statement
Re: Bug (?!): can not add '+' in sql statement
Support · Jan 23, 2008Hello,
We are able to add the '+' sign in the middle without any problem. We can send you a sample dplx file which uses the NorthWind database if you can send a mail to our [^a|mailto:support@cete.com|Support Team^]. Following is the query we used for this.
select CAST(UnitPrice AS varchar(10)) + ' (+' + CAST(Quantity AS varchar(10)) + '%)' AS ShowText from [Order Details]
Thanks,
ceTe Software Support Team.
Re: Bug (?!): can not add '+' in sql statement
Forum member · Jan 23, 2008I'm using ceTe.DynamicPDF.20.dll, version 4.0.3.20
Is that the correct one ?
Re: Bug (?!): can not add '+' in sql statement
Support · Jan 23, 2008Hello,
Yes, but what build dlls are you using? Please make sure that you have the latest build dlls of our product. You can download it from the CustomerArea
by logging in using your serial number. If you are using a trail version then you can download it from our website
.
Thanks,
ceTe Software Support Team.