Combobox Oldvalue

Isskint

Slowly Developing
Local time
Today, 23:25
Joined
Apr 25, 2012
Messages
1,302
Hi everyone

This one has me stumped.
I have a bound combobox on a form (rowsource form a separate table). When trying to check the combobox.oldvalue in the BeforeUpdate() event, I get an "Invalid use of Null" error.
The combobox does have a value prior to triggering the event.

Oldvalue should work, right?
 
it is a bound combobox, then test first if OldValue is null.

if not IsNull(combo.OldValue) Then
'your code
end if
 
It s a valid suggestion arnelgp, but like i said in my OP, the combobox does have a value prior to triggering the event.
 
ARGHHHHHHH!!!!!!!!!!:banghead::banghead::banghead:

The form was set as Data Entry. The combobox has a default value (which shows) but the combobox is the first control on the form so the record has no actual values yet.

i'm......just......gonna.........slip away.......quietly.....
 

Users who are viewing this thread

Back
Top Bottom