Jump to content
Sign in to follow this  
elkkis

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

Recommended Posts

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

Share this post


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.

Share this post


Link to post
Share on other sites

smorr said:

make a white triangle,

No no no, a white parallellogram would work much better, or a kite wink.giflaugh.gif

Share this post


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.

Share this post


Link to post
Share on other sites

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.

Guest
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.

Sign in to follow this  

×
×
  • Create New...

Important Information

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