Does report designer support html tags?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Does report designer support html tags?

Post by weblike »

I try to emmbed attributes in a text field like this:

Code: Select all

<<Customer.Name>> </br>
<<Customer.Address>></br>
<<Customer.Account>>, html
but does not work
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Does report designer support html tags?

Post by Jaymer »

i have done this for an invoice
for a BILL TO and SHIP TO
sections, side by side

I used a temp field.
before printing the invoice, I ran a process which calcs the 2 "address blocks", this also allows removing of blank lines when a "Address Line 2" line is empty.
after the process, I print the invoice which has 1 field for ShipTo and 1 for BillTo

BUT...
remember when you put a tag in the report writer, that means 1 Open and 1 Close marker:
<<Customer.Name + SystemSettings.CR + Customer.Address + SystemSettings.CR + Customer.Account>>

... where SystemSettings.CR is a 1byte field for CHR(13) carriage return
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
rbross
Posts: 441
Joined: Wed Nov 19, 2014 4:13 am
Location: Coventry, Connecticut USA

Re: Does report designer support html tags?

Post by rbross »

Jaymer, how did you get the carriage return to stay in the field. I have used that technique in another AwareIM app, but when I tried to add it to another application when I hit Enter on the field in system settings it did not store the CHR(13)?
Roger Ross
AwareIM 8.7 (build 3025) ~ MS-SQL ~ Windows 10 ~
AwareIM 8.5 (build 2828) ~ MS-SQL ~ Windows 10 ~
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Re: Does report designer support html tags?

Post by Jaymer »

Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
customaware
Posts: 2391
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: Does report designer support html tags?

Post by customaware »

I just stuff it into a Text Attribute like this...

Incident.IncidentTitleString=Incident.IncidentTitle + '</br>' + Incident.IncidentTitleENG

Which wraps in each Query cell like this... Mongolian on Top, English underneath...
Screen Shot 2019-07-12 at 8.42.55 am.png
Screen Shot 2019-07-12 at 8.42.55 am.png (51.63 KiB) Viewed 7770 times
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
weblike
Posts: 1165
Joined: Sun Dec 02, 2012 12:00 pm
Location: Europe

Re: Does report designer support html tags?

Post by weblike »

Thank you for your replies.
I'm talking here about Report Designer and having 7 places in the same Report where I have to fill data like this.
Making 7 more columns in mySql is not so good.
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Post Reply