Once again, many thanks my friend!
With help of your explanations and sample applications, now everything is clear.
The CSV-files (the actual data), in particular "userChannels.csv" can be much larger than those 600 lines furnished with my example. My project is a Remote Control-application and the file is a channel-list and some users have motorized satellite-systems and accordingly their "userChannels.csv" may reach more than 3000-lines. This is the reason why I wanted to dispose the tables so some memory could be saved, also beacuse the channel-list is not always used (not always needed) by the program itself.
Therefore, I prefer your 2nd solution. However, once compiled and trying it on the device, when I close the frmBouquette, the application exits instead of returning to the main-form (with the Start-buton). This does not happen when it's being run in the IDE. Any idea?
Thanks!
The problem is that you dispose the 2 tables. After having disposed them they don't exist any more !
Attached 2 possibilities:
- testerror1.sbp, not disposing the tables, add an Initialized variable that limits to add the coloumn only during the first run.
- testerror2.sbp, disposing the tables , removing the tables form the forms but declaring them at each start.
Best regards.