>Alright, you've cut down my code a bit :-)
>
>But what do you mean by && I hope this.Value is not for CheckBox ?
Because If this.Value is direct test for logical value. I assumed that .nOpCode is the CheckBox in question.
>And still noone's answeered how/why the checkbox changes its data type.
I doubt that somebody has the answer :o)))
I never see such behaviour of checkboxes, maybe becuase I always put a default value in Properties window.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.