Posit: Unlimited "Undo" in fP?
Bruce Easton
bruce at stn.com
Thu Jul 26 11:21:55 PDT 2007
Mark Luljak wrote Wednesday, July 25, 2007 9:04 PM:
[..] <a bunch of stuff about unlimited un-do> [..]
Darn it, Mark - now you got me to thinkin' too much... :)
OK, for the scenario of keeping track of changes @wlf during the
same session prior to saving a record where I had suggested writing
to a separate file,
1. Session
2. Field#
3. Seq#
4. Value at Seq#
5. maybe ScreenID?,
6. maybe Posted?
if that were applied to all the updatable fields for a given screen,
then it seems that not only could it be used in the program for
un-do, but, depending on how the maintenance of the history file
is handled, it could be used once out of the record (even if
ungracefully) for the purpose of producing as last "draft" of a
record. (I would only update a session's set of history records
once the record is saved - using field 6 above. That way if I
looked at the records and that was empty, then it should indicate
that there were draft changes that for some unknown reason, were
not saved.)
It would be nice if filepro had some kind of trigger like @udone,
where, when a user command finishes, if the trigger were present
in the table, and after completing arrival to the next point of
user input, processing would automatically redirect and start
running at that new label. Then I would think you could clock
some things, like writing out a draft after a certain amount
of time.
Bruce
Bruce Easton
STN, Inc.
More information about the Filepro-list
mailing list