single form application: updating tables [message #1339290] |
Wed, 07 May 2014 12:02  |
Eclipse User |
|
|
|
Hi all. I'm building a scout application that's basically a set of "single forms", opening and closing according to user cases (I do not use outlines or the like, since they do not match my customers' l&f).
In my code I've a CustomeTableform that displays a bunch of db-loaded customers in a table. when user clicks on the table row, another form is spawn to view (CustomerForm) and edit customer's detailed information.
Now the tricky part: when the user changes some fields in CustomerForm and presses OK, the database row is updated, but the CustomeTableForm keeps being unchanged . Same thing if user deletes a customer: the db row is deleted but the CustomeTableForm is unaware of the change.
I know that if I use the table pages embedded in the outlines (as i have see building the minicrm demo) the table page is updated in the cases (if I'm not wrong).
Is there any way to replicate this behaviour in a "single form"-like application as the one I'm building? Of course I mean that I'm going to write the actual code (not relying on the wizard), but how this mechanics can be accomplished?
thanks in advance.
|
|
|
|
Powered by
FUDForum. Page generated in 0.06317 seconds