|
-
Oct 15th, 2002, 10:49 PM
#1
Thread Starter
New Member
event before textchange
Have any event before textchange.Can I check all object change in form such as form change event.
For Example I want to save old record before I add new record
and If I didn't change anything in old record ,I won't save anything.But If I changed any columns,I will save it old data.
I use textbox for first column.Do you have any way to resolve it.Thank a lot.
-
Oct 16th, 2002, 04:19 AM
#2
Hyperactive Member
the Leave event is probably a better place to do this, but, why not have a modular level variable that saves the old value,
ie
VB Code:
Private mstrSaveText as String
...
'In the Text Leave Event
if mstrSaveText <> txtText.Text then
'do something with the Saved Text
'do something else with the New Text
end if
mstrSaveText = txtText.Text
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|