David,
Not quite sure what you're doing here, but...
Use the OnCurrent event of the form to set a hidden text control or a
variable (ex. OldValue) to the combo value at OnCurrent time.
Use the BeforeUpdate event to "catch" changes, as compared to the
OldValue value. (perhaps warn the user?)
Use the AfterUpdate event to store a "new" OldValue if you allowed the
changes.
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
"David Cleave" <(E-Mail Removed)> wrote in message
news:65199521-0FC3-4AE9-AA6D-(E-Mail Removed)...
> Hi all
>
> I'm having a serious problem with a combo box. I need it to tell me
> whenever
> its value is changed. At the moment, I am testing its current value
> against
> its .OldValue property. Problem is, the .OldValue property refers to the
> value it held when the form was loaded, which gets out of date if the
> value
> of the combo box is changed more than once.
>
> Please tell me how I can either:
> - force an update of the value of the combo box so that .OldValue property
> contains the last value the combo box held
> - access the last-held value of the combo box, if the .OldValue property
> cannot be updated
>
> Many thanks
>
> David