[RPG] retreive the value of textbox which is bind to SQL statement
Posted: Thu Oct 27, 2016 7:07 pm
Hi,
On the formview for uploading local database table to server, there is a textbox and its value is retrieved from local database table by SQL. Uploading program is just like EXAM0302.
I would like to use that value of textbox in RPG after BUTTON1(Upload button) is tapped.
I have tried to get the value of TEXT1 in several ways,such as LRNG_GetProperty, but am not able to succeeded in it.
Is it possible to retreive the value of textbox which is bind to SQL statement?
I appreciate your kind advice.
Best Regards,
Megumi Sawada
On the formview for uploading local database table to server, there is a textbox and its value is retrieved from local database table by SQL. Uploading program is just like EXAM0302.
I would like to use that value of textbox in RPG after BUTTON1(Upload button) is tapped.
Code: Select all
A 3 10HTML('<<TEXT1>>
A TYPE: TEXTBOX
A LAYOUT.COLS : -1
A* NAME: TEXT1
A VALUE.&.SQL: "SELECT
A SURNAME FROM CONTACT
A WHERE ROWID = 1"
A ')
A 4 10'<<BUTTON1>>'
A 4 10HTML('
A TYPE: BUTTON +
A VALUE: "Upload" +
A ONCLICK: UPLOAD +
A ') Is it possible to retreive the value of textbox which is bind to SQL statement?
I appreciate your kind advice.
Best Regards,
Megumi Sawada