Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox problem
Message
From
05/04/2000 23:21:12
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00355920
Message ID:
00356065
Views:
10
>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??????
>

Try initing the value to a logical in the property sheet.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform