AnsweredAssumed Answered

Odd behavior of conditionally formated text when copying between layouts

Question asked by DavidConner_1 on Apr 11, 2012
Latest reply on Apr 18, 2012 by TSGal

Summary

Odd behavior of conditionally formated text when copying between layouts

Product

FileMaker Pro

Version

12

Operating system version

Mac OS 10.6 and Windows 7

Description of the issue

Conditional formatting (color) of text based on Get(LayoutName) doesn't function as expected when text is copied from one layout to another.

This was originally observed in a complex file originally created in Filemaker 11, but is also observed in simple files created in Filemaker 12.

Steps to reproduce the problem

1. Created new file in Filemaker 12 with one field and 2 layouts (Layout1 and Layout2)

2. In layout view (Layout1), a text object was created ("Text") with color set to white. Then conditional formatting was set such that the text would display as black when Get(LayoutName) = "Layout2"

3. Copy the text and paste onto Layout2 in layout view.

Expected result

Text should appear white on Layout1 and black on Layout2.

Actual result

Text is white on both layouts. In Layout2, the copied text does have the correct formatting annotation. In fact, one can copy the formula and paste it into the formula for new text created on Layout2 and the color behaves as expect - black on Layout2

Exact text of any error message(s) that appear

no error messages

Configuration information

observed on Mac OS 10.6 and Windows 7

Workaround

Create the conditionally formated text only on the layout it will be used.

For example, create a new text item ("Text") on Layout2. Set the color to be white. Set conditional formatting as described above, the text now appears black on Layout2.

In version 11, conditional formatting created on one layout could be copied with the object to other layouts and behave as defined by the conditional formatting formulas.

Outcomes