Comparing record with original when saving - alternate
George Simon
GSimon at americanriverintl.com
Wed Jan 17 11:48:22 PST 2007
-----Original Message-----
From: Kenneth Brody [mailto:kenbrody at bestweb.net]
Sent: Wednesday, January 17, 2007 2:39 PM
To: George Simon
Cc: Fplist
Subject: RE: Comparing record with original when saving - alternate
Quoting George Simon (Wed, 17 Jan 2007 14:28:27 -0500):
> Ken writes:
>
> > You can also use an array to save the original field values upon
> > entering update mode. Here is a simple example that shows the
> > original and current value each time you leave a field.
>
> > @update
> > 6 Then: Count = "1"
> > loop If: Count le numfield(-)
> > 7 Then: OrigVal[Count] = CurrVal[Count] ; Count = Count + "1" ;
> > goto loop
> > 8 Then: screen
> > 9 Then: end <--- Isn't this a little dangerous for the
> inexperienced?
[...]
> I am assuming that your question was the one embedded within the
> quoted text?
> What's dangerous about "end"?
Well, the original poster signed "Trying to become a filePro programmer"
or something like that. We have been talking about he should do once
the user saves the record and I'm not sure he would know that the
processing would actually end there and not execute any code he has at
the top of the table.
--
More information about the Filepro-list
mailing list