Jump to content

This topic is 4624 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi. I have no clue on this one. I have a table that, based on a code, gives the name of a color. When bringing in the name of the color into my related database, I want the text (red, blue, etc) to be its color. So if the code brings back the word "red" I want it to be in red or at least have the shading or something in that color. Any help here? Thanks.

Mike

Posted

About six. Basically, we have a school. For the younger grades, depending on their bus stop (code) we place a sticker on a button and color in the bus color so they know where they're going. I set up a table that, based on the code, gives the bus color to each student. I want the color name to be in its color. Does this make sense?

Posted

If I understand correctly, you should just be able to put a conditional format on the field itself that checks for multiple conditions.

Such as:

Self = "Red"

Self = "Yellow"

Self = "Green"

Self = "Orange"

Self = "Purple"

Self = "Brown"

Just choose whatever gradient you want for each text color.

Posted

Guess I'm a bit ignorant on this. Can you be a little more detailed? Thanks so much. (I'm just starting to change over to 12)

Posted

Set up Conditional Formatting for the field like in the screenshot. Choose a different text color for each condition.

Order is irrelevant, since all conditions are mutually exclusive.

If you want to format another field based on your color field, replace Self with the name of the color field.

post-80889-0-94255200-1340113623_thumb.p

Posted

Hi. That last idea worked out great. Thanks. I have another conditional formatting type question. I have a report with one line per record with, say, 10 fields. Suppose I want to show 10 fields per line on most of the reports but only 8 of those fileds if x=y. I could always make two identical reports, one with all 10 fileds and one with two fileds set not to print. I would think there would be an easier way with just one layout?

Mike

Posted

You could use CF to make the field contents invisible, e.g. by setting a very large font size (like, 500), which works regardless of the background color.

On the other hand, depending on the field arrangement, this might leave visible gaps, so maybe making two dedicated and optimized layouts is the better solution.

Posted

.. want to show 10 fields per line on most of the reports but only 8 of those fileds if x=y

What does the x=y represent?

Posted

It might be better served through access privileges if it a security issue!

Posted

The x=y I said just to mean a condition. Like if it's for the office staff I might leave the fileds on the report. If it's for teachers I might want to leave off some fileds. I guess I may have to go with the two layouts. thanks

This topic is 4624 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.