0% found this document useful (0 votes)
129 views1 page

PHP Reportico Tip

This document outlines page and row styling assignments for a report, including applying borders, background colors, and conditional formatting. It also defines fields for budget year, date, and database lookups. Finally, it displays the header and description for a report section on exhibitions in both Thai and English.

Uploaded by

sanyahv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
129 views1 page

PHP Reportico Tip

This document outlines page and row styling assignments for a report, including applying borders, background colors, and conditional formatting. It also defines fields for budget year, date, and database lookups. Finally, it displays the header and description for a report section on exhibitions in both Thai and English.

Uploaded by

sanyahv
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Output:

1. Page Header
date(Y-m-d H:i:s)

2. Page Footer
Page: {page}
--------------------------------------------Assignments
1. Page Style
apply_style('PAGE', 'border-style', 'solid');apply_style('PAGE', 'border-width',
'1 1 1 1');apply_style('PAGE', 'border-color', '#222222');apply_style('PAGE', '
background-color', '#f3fff3');
2. Row Style
apply_style('ROW', 'background-color', '#e0e0ff');
3. Row Style
apply_style('ROW', 'background-color', '#eeeeff')
condition ->
( lineno() % 2 == 1 )
----------------------------------------------------budgetYear

TextField
TextField
NoEntry
2557
----------------------------------------------------dateID

Database Lookup
Drop Down List
Drop Down List
id
name
id
id
1
------SELECT
id
,name
FROM
t_budget_year
WHERE 1 = 1
----------------------------------------------------CREATE TEMPORARY TABLE IF NOT EXISTS temp_cds_04_01_01 ENGINE=MEMORY AS
( SELECT {budgetYear} thisyear, quarter_no, STR_TO_DATE(CONCAT((CAST({budgetYea
r} AS UNSIGNED) + be_variance + budget_variance), start_date),'%Y-%m-%d') thisst
art, LAST_DAY(STR_TO_DATE(CONCAT((CAST({budgetYear} AS UNSIGNED) + be_variance +
budget_variance_end), end_date),'%Y-%m-%d')) thisend FROM t_budget_year WHERE 1
= 1 [ AND id = {dateID} ] )
----------------------------------------------------CDS 05.05.04 (Exhibition)
ENG_RES_CDS_05_05_04
-----<b>
<br><br>
<br><br>

eng_res_cds_05_05_04

You might also like