main logo
Subject: Object engineering #2
Author: Mark Stanton
Posted: 2007/06/30 12:25:40
 
View Entire Thread
New Search


Further to that conversation, or perhaps further to my private
further thoughts about it, how d'you update linked data?

For example, I have a subscriptions table, which records
subscriptions (cryptic I know), and a payments table, which records
payments of all types.

My "trader" screen has tabs for the different types of data, and
there's one for subscriptions, and another for all payments.

If I check the box in the grid for a particular subscription, it
ought to immediately show up as checked on the payments page.
I *was* doing this by updating the underlying data (saving the view
for this grid, and refreshing the one for the other grid). But that
has to be wrong, doesn't it? If only because it doesn't give me the
ability to (easily) roll back all my edits.

If I just update the screen (using the screen objects to locate and
update the view[s]), then not only could I back out without making
the change, but I'm keeping my layers separate, rather than tying
them inextricably together as my previous strategy was doing.

And then followed through even more rigorously, doesn't this mean I
*have* to have all my linked data on one screen rather than opening
separate screens/forms to update bits of linked data?

Or is just that my medication is wearing off?

Regards
Mark Stanton
One small step for mankind...





 
©2007 Mark Stanton
<-- Prior Message New Search Next Message -->