troubleshooting Question

MS Access - conditional format a command button

Avatar of Ross
RossFlag for United Kingdom of Great Britain and Northern Ireland asked on
Microsoft Access
7 Comments1 Solution2020 ViewsLast Modified:
I have a continuous form that has a command button on it that opens another form (based on a query on another table) where the PK of the first form and second form match, so the second form only shows data relating to the record we're on in the continuous form.

What I want to achieve is for the command button to be a different colour to normal if there is any records found for the second form - IE, if there's no linked data from the query, leave the button normal, if there's any records found in the query (that would be shown in the form) then the button should be a different colour.

I hope I've explained myself clearly enough!


Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros