Beverly
Mon Jun 18 10:22:39 CDT 2007
>> I still have not figured out how to do multi-user for the app that I
have developed. <<
Was in the same place until yesterday... didn't know enough to even
phrase the question but Dave Frankenbach pulled me out of the woods with;
"With the new data buffering capabilities it's pretty easy to provide
undo/save changes. You use he TableCommit() and TableRevert() to either
save changes or undo them respectively. So that allows you to APPEND
BLANK without worrying about cleaning up by hand, the record won't get
saved until you TableCommit() which you can do in code at the form level
or in the Click() of a button."
Related to that are the tableupdate() and TableRevert() "rollback"
options for which the best descriptions I have found so far about a
quarter down the page at;
<
http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarfoxgen/html/msdn_buffer.asp>
"tableupdate() returns .T. if the buffer was successfully written to the
record."
"If the record buffer hasn't changed (the user didn't edit any fields,
add a record, or change the deleted status for the record),
tableupdate() returns .T. but actually does nothing."
So, if you get a false (i.e. someone else modified the record) you can
then impliment the rollback and figure out where to go from there. Of
course, you can still lock the record when the edit starts to prevent
other users from editing at the same time.
!!!Please correct me if these fresh assumptions are incorrect!!!
>> Another part is that I am alone here. The Net is not as good as
physical presence. <<
Ahh... you do understand my predicament ;-)
I spent about 2 hours each with Charles Loft and Dave Frankenbach over
the last week, two of the top Fox people I have known over the years and
doing that probably saved at least a month... didn't relate to the "big"
concepts, simply the ability to stop and ask the simplest questions...
for example, how to get a user property into an object box ;-)
Perhaps setting up a remote connect session to your desktop with
telephone or audio with someone who's really skilled... they would
probably appreciate the beer money ;-)
>> If you get another, could you please investigate live trapping? <<
Like all muses, they are unapproachable, even with a trap, sometimes
only a flash of the tip of the ruddy tail glimpsed through a window,
then gone for a half year or so, but, I'm sure one is moving in to your
area now.
...it dawns that Dave is a readhead... no wonder! ;-)
Beverly Howard