Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

enabled a command button at "filter window"

Status
Not open for further replies.

saieyo

Programmer
Apr 29, 2003
6
CA
I am planning to use "filter by form" as a search for my table. When I click the "Filter by form", all the command buttons in the form are disabled. How can I active those command buttons be enabled???
I tried to run the code:
Me!Apply_pt.Enabled (apply_pt is the name of the command)

but it has an error message that "Object doesn't support this property or method"

Thanks for the time.

Kin
 
The full code is:
Me!Apply_pt.Enabled = True or
Me!Apply_pt.Enabled = False

If you have not added the qualifier then the command is incomplete and will not be recognised

Frank J Hill
FHS Services Ltd.
frank@fhsservices.co.uk
 
Frank, first of all, thanks for you fast respond. I tried to assign the " = Ture", but it doesn'et enabled the button. By the way, where should i put this code?? Now, I put the code in the section of "On Filter" Event.
 
I was also looking for the answer to this question and tryed the Me!Command.Enabled=true but cannot get this to work. Did anyone ever answer the question or does anyone have an answer??
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top