Set the Value property of the CheckBox to .F. By default it is set to zero.
>I have a checkbox on page inside pageframe. When the user clicks on checkbox, I should be getting a .T. value. Instead I am getting a value of "1". Here is my code:
>
>insert into employee (checkbx) value (.pf1.p3.chkdrstmt.value)
>
>
>it's giving me an error because checkbx is a logical. Its looking for .T. or .F. and I am returning a value of "1".
>
>.pf1.p3.chkdrstmt.value should have a .T. What Gives??????
>
>
>thanks
>Nick Patel
Mark McCasland
Midlothian, TX USA