Jump to content

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

Recommended Posts

  • Newbies
Posted

Hello,

Is there a way to change the color of text in certain fields after a find is performed? I've tried finding the records I want & then using the replace feature but this only works if the text is the same. I am working with a housing database. When I search for rooms in one area, I would like those rooms found to be color coded. For example, If I search for rooms in the east wing (which is a field called area) I would like the room numbers(in the room numbers field) for the east wing rooms to display as red. If I search for rooms in the west wing,I would like the room numbers for the west wing rooms to display as blue. I have 2000 records and about 10 different areas to chose from. Any suggestions, or is this a lost cause???

Posted

Make a global text field gRooms

Make a calc

Case (PatternCount (gRooms, Area)>0, RoomNumber)

This calc will return the room number only when the area chosen in the global field matches with the area in whioch the room is located

A nice addition might be to format gRooms as a checkbox field so that you might choose multiple areas and highlight relative rooms

(Hope I understood properly)

This topic is 7933 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.