General information
Category:
Coding, syntax & commands
Some details please.
What is the error message? Is cUserName a variable, or form property?
>>>>>>>>>>>>> Your message below
I ahve a form with several command buttons. All are enabled by default. I have one that I disabled in the propeties for the button. I don't quite understand the how to enable the button if say cUseName="RJOHSNON" I did this int the INT Method of the button:
If cUserName="RJOHNSON"
cmdClose_accounts.enable= .T.
endif
I get an error for this code. I even tried OBJECT.ENABLE= .T. Still I get an error. I still don't quite understand using this type of command. A little help please.
Thanks for your help and Happy New Year!
Previous
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