Conditional Format a Comman Button?

Monopot

Registered User.
Local time
Today, 04:27
Joined
May 25, 2005
Messages
11
Quick question.

I have a continuous form in Access 2003 listing products for return for a customers. I am in the process of creating a completion form which will just have the product number, model number and then a command button called complete.

What I'm doing is have it so when the person clicks the button it adds a value to a field saying Complete. OK. But, what I then want it to do is for any record thats associated with this customer where the field = complete to have the command button gray out.

Is this possible? I know I can conditional format a text box to do this but can't see a way to do it with a command button? Any ideas?

I have though of layering a transparent button and having a textbox behind this with complete in and having this change colour but not sure if thats the best way?
 
Hi -

The transparent button with an unbound textbox behind sounds like the best approach to me.

Continuous forms present additional challenges and you may find it necessary to use VBA to modify the textbox rather than straight conditional formatting.

hth,

-g
 

Users who are viewing this thread

Back
Top Bottom