Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do i prevent access to a check box?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00592500
Message ID:
00592508
Views:
17
>I have two logical fields - SCHOOL and WORK. I want to simply prevent users for checking of both SCHOOL and WORK - only one can be checked off. I have tried several things with the WHEN event of the check boxes such as in the WHEN event of the SCHOOL field I put in "work = .f.". However this doesn't work and I am still able to check off both boxes.
>
>Thanks,
>
>Nancy

How about: (off the top of my head)

In Work checkbox:
in Click method:
if MyTable.School 
   nodefault
endif
Similar in school textbox
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform