Jump to content
The site is updated on a beta version. Maintenance tasks are running so search and index may not function at this time. ×

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

This topic is 5904 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,



Link to post
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 post
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 post
Share on other sites

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

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