G gear Registered User. Local time Today, 03:26 Joined Mar 10, 2007 Messages 112 May 9, 2007 #1 I have a command button which will work on a specified date of every year. After the user clicks it once (which will carry out calculations), I want this button to be disabled so that it is not available for second click. Is it possible?
I have a command button which will work on a specified date of every year. After the user clicks it once (which will carry out calculations), I want this button to be disabled so that it is not available for second click. Is it possible?
N neoklis Registered User. Local time Today, 13:26 Joined Mar 12, 2007 Messages 80 May 9, 2007 #2 Yes it is possible… The command line is: Me.buttonname.Enabled = false You can type it on an open event properties on a form. So when your form opens you can check if the date is your run date. If date=rundate then Me.buttonname.Enabled = true ‘runable else Me.buttonname.Enabled = false endif
Yes it is possible… The command line is: Me.buttonname.Enabled = false You can type it on an open event properties on a form. So when your form opens you can check if the date is your run date. If date=rundate then Me.buttonname.Enabled = true ‘runable else Me.buttonname.Enabled = false endif