General information
Category:
Coding, syntax & commands
Title:
Command Button help
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only