Syntax for null numeric field

Dave,

Like I suggested before, why not try adding a 0 to the old value and checking on that?

if TabCtl0.OldValue + 0 <> 2 then do something

This forces a nul to be something.

Or is my logic to simplistic?

Regards Brett
 
As DK mentioned, there is only an oldvalue for bound controls, and the tab numbers are unbound, so will never have an oldvalue- it will always be null.
I have been working with the info in post 20 and am finding that to work really well. When I finish up I will make another post of the finished code whick works for me and my use.
I really do appreciate all the folks on this forum and their willingness to pitch in and offer suggestions, and continue thinking about a specific problem or challenge until there is a usable solution.
Dave
 
This works after a few adjustments. Thanks for all the help and input.
Dave
 
Good go go ... glad it is working in the manner in which you want (even though not in the method in which you wanted it).

-dK
 

Users who are viewing this thread

Back
Top Bottom