how to read what is in 'dirty' text box

A

alekm

Hi,
How to see (from code) string in text box that has not
been updated yet (dirty is right expression, right?).

thanx

alek_mil
 
A

Allen Browne

Assuming this text box is bound to a field, compare its Value to its
OldValue.

Example:
With Me.[Text1]
If (.Value = .OldValue) Or (IsNull(.Value) And IsNull(.OldValue))
Then
MsgBox "No Change"
Else
MsgBox "Changed."
End If
End With
 
A

alekm

Ok,
but the text box is not bound.
I' ve just took a look at your 'Find as you type' article and it occurred to
me that text property is the right thing.

Than you Allen

alek_mil
 
Top