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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remember previous value

Status
Not open for further replies.

jurgen

Programmer
Feb 8, 2001
209
BE
How can I change a value in a field and remember the previous value ex sourceprice 133,30 new sourceprice 150,03 then.

After the update all the previous prices in a table must be updated.

Any suggestions

:-> JJ
 
If you are using a bound textbox (or combobox, etc), it will remember the value until you save the record. The old value is kept in TextBox1.OldValue. Before saving you should probably run through all of the controls and check to see if Control1.Oldvalue=Control1.Value and that will tell you what the user has changed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top