Hi
I've been scratching my head as how to do this :)
I wish to create a series of rounded rectangles and put data from queries in them I then wish to link reports of this data.
This is where I've gotten to:
select 'dbr.hideheader';
select 'dbr.title','Bank Balance';
select 'dbr.purehtml','<div class="rcorners1">';
select concat('Bank Balance\r\n£',sum(a.Tran_CB)/1000 ,'M') from hilmark.tblbank_trans a
join (select Acc_ID, max(Tran_Date) as maxdate from hilmark.tblbank_trans group by Acc_ID) dp
on a.Acc_ID = dp.Acc_ID
where a.Tran_Date = dp.maxdate;
select 'dbr.purehtml','</div>';
I've also added the following to the userstyle.css file:
.rcorners1 {
border-radius: 25px;
background: #8AC007;
padding: 20px;
width: 100px;
height: 100px;
font-size:50px;
font-weight:bold;
display: table-cell;
text-align: center;
vertical-align: middle;
line-height: 25px;
}
The result I'm getting is the rectangle OK and the data in the horizontally centred but not vertically and the data is in a white rectangle.
Hope you follow that.
Am I doing this totally wrong?
Jake