Is possible to create a dynamic PageView and Form ? [message #1029030] |
Fri, 29 March 2013 03:35 |
Henrique Meira Messages: 13 Registered: November 2012 |
Junior Member |
|
|
Is possible to create a PageView and a Form based on a database?
For example, I select some datas from a database, with structure info, and based on this data, Eclipse Scout show me a PageView?
Example:
select field_name, type, size, precision
from data_structure
where table_name = 'ORDERS'
Result:
--------------------------------------------
| FIELD_NAME | TYPE | SIZE | PRECISION |
|------------|----------|------|-----------|
| id | INTEGER | 10 | null |
| date | DATE | null | null |
| client_id | INTEGER | 10 | null |
| ammount | DOUBLE | 15 | 2 |
| note | STRING | 500 | null |
--------------------------------------------
With this result, I would like to create, dinamically, a PageView like:
------------------------------------------------
| ID | DATE | CLIENT_ID | AMMOUNT | NOTE |
------------------------------------------------
| 15 | 2013/02/25 | 12345 | 1250.36 | |
| 16 | 2013/02/26 | 64789 | 5521.63 | |
------------------------------------------------
Tks.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02613 seconds