Change colour of a field

D

DontKnow

Hi Guys,

Are you able to change the colour of a field dependant on the fields current
value in datasheet view. When the output from a query is opened, I want to
be able to have differeent colours for different values.
Ie when the value in a field is hertz I want the datsheet view to be green,
yet when the value is Custom Fleet I want the colour to be Green...

Am I able to do this from the Datasheet view (output from a query)??

many thanks in advance ??

Cheers,
 
D

DontKnow

Hi Daryl,

Thanks for your responce but Ihave to ask how do you do conditional
formatting??

Is there code you need to develop to set the colours for opartciulars
values... how do you do it??

many thanks for your input!!
Cheers,
 
J

John W. Vinson

Thanks for your responce but Ihave to ask how do you do conditional
formatting??

Open the Form in design view.

Select "Format" from the menu.

Select "Conditional Formatting" from the options presented.
 
D

DontKnow

Hi John,

Its not a form that I require help, its the output from a QBE which is only
a datasheet view, can you do conditional formatting from the output from a
query? I don't think that you can.

I have no problems in conditional formatting whilst the output is in a form,
but the output from a query (datasheet view) I am not sure if this is even
possible?

many thnaks for input!!

Cheers,
 
J

John W. Vinson

Hi John,

Its not a form that I require help, its the output from a QBE which is only
a datasheet view, can you do conditional formatting from the output from a
query? I don't think that you can.

I have no problems in conditional formatting whilst the output is in a form,
but the output from a query (datasheet view) I am not sure if this is even
possible?

This is one of a great many reasons to routinely use Forms for all output, and
not allow users to even know that query/table datasheets *exist*.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top