F
F5447 author
Dear ALL expert of PHPRunner, This is my first post of PHPRunner question, in which I am very new to PHPRunner ... My question: I have a table, tblNumber, in which it has many fields (more than as per given here as example) need to store SQL generated value through PHPRunner [List Page]. In brief, the tblNumber has fields of: tblNumber.ID
tblNumber.Number
tblNumber.FirstD
tblNumber.SecondD
tblNumber.ThirdD
tblNumber.ForthD My [List Page] SQL statement is
SELECT
ID,
LPAD(Number,4,'0') AS zNumber,
SUBSTRING(LPAD(Number,4,'0'), 1, 1) AS zFIRSTD,
SUBSTRING(LPAD(Number,4,'0'), 2, 1) AS zSECONDD,
SUBSTRING(LPAD(Number,4,'0'), 3, 1) AS zTHIRDD,
SUBSTRING(LPAD(Number,4,'0'), 4, 1) AS zFOURTHD
From
tblNumber
If my Number value in tblNumber has 1234, 5678, 9012, the followings are the [List Page] display through PHPRunner
ID zNumber zFIRSTD zSECONDD zTHIRDD zFOURTHD
1 1234 1 2 3 4
2 5678 5 6 7 8
3 9012 9 0 1 2
My question is how can I store SQL generated value into fields of tblNumber.FirstD, tblNumber.SecondD, tblNumber.ThirdD and tblNumber.ForthD in PHPRunner [List Page], during execution of [List Page], etc? Purpose: I have many fields (not only the above 4 fields as example) to store with SQL generated value (which I already successfully make through SELECT statement of MYSQL).
Now the issue how to store them back to MYSQL table. I would like these fields stored, because I will have another [List Page] to extract these fields for data analysis. Thanks in advance.
F5447 (Chin)
|
|