Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling a Field
Message
From
01/04/2005 10:23:51
 
 
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:
01000659
Views:
21
I think that you may want to execute this code triggered by the Form Refresh event.


>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform