Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command Button help
Message
From
27/09/2002 11:37:38
 
 
To
27/09/2002 11:31:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00705257
Message ID:
00705262
Views:
9
>Hi,
>
>I have a holiday's table.
>
>myholiday.dbf
>
>holidate description
>01/01/2002 New year
>12/25/2002 Xmax
>
>In myform.sc* to include a command button called cmdHoliday in one of command
>group cmgHoliday.
>
>each time the current date means date() = holidate equal to 01/01/2002 for example ,
>
>thisform.cmgholiday.cmdholiday.enabled should display otherwise should always
>hidden until it will reach the next holiday for example 12/25/2002.
>
>here my codes;
>
>select myholiday
>if holidate=date()
> this.cmgholiday.cmdholiday.visible=.t.
>endif
>
>it is not working, please correct my code.
>Thanks in advance,
>PP

Well, either it is not displaying, or it is not hiding, you haven't explained.

Are you at the EOF() in your Holiday table?

Kev
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform