Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling a Field
Message
From
01/04/2005 10:11:42
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01000626
Message ID:
01000650
Views:
17
>My form has a field (NOTICE DATE) that is autoupdated when another date field is update.
>Questions are :
> 1) when the NOTICE DATE is not empty, want to disable a CHECK field,
> 2) when the form opens, do the same checking and disable if not empty,
> 3) finally, same when I navigate (NEXT/PREV BUTTONS)
>
>Thnx in advance,
>
>Ruben

Ruben
If not EMPTY( thisform.txtNoticeDate.value)
    Thisform.chkCheckField.enabled = .F.
Endif
Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform