Depends on what you're taking.
Ted's right about buffering and rollbacks, but I think you were referring to a 
different concept. Namely that
the logic governing which tables to update and when doesn't belong in the user 
interface, it belongs in a
business layer with actual storage issues governed by the data layer. I don't 
feel that this is an object
engineering issue so much as a question of how strictly we layer our code and 
how much of the labor saving
features .. in this case the ControlSource property... in VFP we're willing to 
give up to achieve the
perfectly tiered and engineered app.
-Lew 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Stanton
Sent: Saturday, June 30, 2007 1:26 PM
To: profox@leafe.com
Subject: Object engineering #2

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...




[excessive quoting removed by server]

_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to