Jump to content
Server Maintenance This Week. ×

Field grey if blank (inactive), or white (active)


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

Recommended Posts

  • Newbies

Hi there,

I see in another kind of Dbprogram, the possibility to do, a grey field if inactive, and white field if this field contain text or whatever.

Like if the field is not used or didn't have any data, keep gray.

When someone put some date on the field, the field are @on@, like white background and black text.

I try to find a way to make it work on a Database in filemaker 7 with 23500 average record, so i try to find a way to keep the Database keeping going quick.

I hope everythings is clear,

thx

fred

Link to comment
Share on other sites

I think this would be done by having for each field a calculated field that will show a white swatch when the source field has data.

For example:

datafield: Text

gWhiteSwatch: Global Container

-- note in layout mode, make a white triangle, copy it, go to browse mode and past in to gWhiteSwatch

datafield_ActiveOverlay: Calculation (container) = case(datafield?"", gWhiteSwatch)

Then place datafield_ActiveOverlay UNDERNEATH datafield and set the graphic options to Reduce/Enlarge and turn off maintain proportions.

Set the background of datafield to clear.

Link to comment
Share on other sites

A quadrilateral would work, too. wink.gif And, actually, all you need is a line. The graphic formatting stretches it to the desired rectangle size.

Link to comment
Share on other sites

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