Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

field changed

Status
Not open for further replies.

ikh

Programmer
Apr 17, 2001
24
0
0
CA
With buffering turned off is there a way to determine if field was changed ?
 
HI
IOf no buffering is available, then use SCATTER MEMVAR to keep a copy of the record in the memory. Then GATHER MEMVAR will restore the field contents. If memo fields are involved, SCATTER MEMVAR MEMO and GATHER MEMVAR MEMO.

Also, you can compare the field content with M.fieldname to chech, if any changed are incorporated.

:) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Only if you saved off a copy of the data at the time you read it in. i.e. Scatter MEMO to arrayname to save the original data, and then scatter it again to another array. Next loop through the fields and compare the "old" with the "current" values.

This technique can be a lot slower than using the native buffering and the OLDVAL() and CURVAL() functions.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top