|
| Windev Mobile how to define datafile index column |
| Iniciado por Hafizh Kevin, 12,ene. 2021 09:48 - 1 respuesta |
| |
| | | |
|
| |
Miembro registrado 7 mensajes |
|
| Publicado el 12,enero 2021 - 09:48 |
Hi,
We have a project, to create database manager on windev mobile for android. first we have to be able select master data or transaction data on table control (We use pane to do this).
After that we have to display it on other table control on difrerent window to display record on datafile (We use FileToMemoryTable for this).
Then after the record displayed, we must be able display record information on description section (not a table control) flexibly and dynamicly from diferent datafile (datafile Job has 3 column id, name, and detail and datafile employee has 5 column id, first_name, last_name, email, contact) and there will be action to add, modify, or delete the record
We now stuck on how to be able display information in description section flexibly and dynamicly from diferent datafile?
We apriciate your help
Regard Kevin |
| |
| |
| | | |
|
| | |
| |
| Publicado el 12,enero 2021 - 13:25 |
First this is the WINDEV forum, not the windev mobile one...
Second, in WINDEV, you would use buildbrowsingtable to do what you need... But it is not available in mobile...
THis means that you have to do it old school: - use a table (or memory zone) filled by programming - create in it as many columns (all text) as the maximum number you may need - by code, fill them with formatted content (texttostring, datetostring, etc) and change the columns' titles
For the form, same system... you just set as many text controls as you may need, and you rename and fill them by code
There's nothing to it, really.
You will probably need to use indirections in your code, in order to make it as generic as possible. |
| |
| |
| | | |
|
| | | | |
| | |
|