Jump to content
Sign in to follow this  
comment

GetFieldName() in conditional formatting - bug?

Recommended Posts

I am trying to highlight the active field using the new GetFieldName() function:

Get (ActiveFieldTableName) & "::" & Get (ActiveFieldName) = GetFieldName ( Self )

I have the same formula attached to a tooltip. When the field is active, the tooltip returns true - but conditional formatting is not applied. Is this a bug or am I overlooking something?

GetFieldNameBug.fp7.zip

Share this post


Link to post
Share on other sites

OK, I think I see what the issue is: it doesn't think it needs to evaluate when active field changes. If I add a bogus condition to the conditional formatting, it wakes up - but it still changes the formatting only on screen refresh, so it's one step behind reality.

Share this post


Link to post
Share on other sites

Thanks, Stephen - that's actually what I did:

http://fmforums.com/forum/showpost.php?post/314863/

I just thought that with this new function it would be possible to do something more interesting.

EDIT:

The file above is not a good example, because conditional formatting is never applied to the active field; you need to duplicate the fields on the layout to see the effect (or lack thereof).

Edited by Guest

Share this post


Link to post
Share on other sites

Conditional formatting doesn't apply to active field. That's why you have to use Stephen's example and think "reverse"

Share this post


Link to post
Share on other sites

Yeah, never mind - I was trying something overly ambitious (and wasn't fully awake to boot : ).

---

As far as I am concerned, this entire thread can be deleted - I fear it serves only to confuse.

Edited by Guest

Share this post


Link to post
Share on other sites

As far as I am concerned, this entire thread can be deleted - I fear it serves only to confuse.

i think it shows humility and proves that even experts sometimes can't see the forest thru the trees. :

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
    Tattwam 
×

Important Information

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