How to set the background color of the crystal report

xiaoxiao2021-03-06  36

I saw some netizens asked this question, I feel that I can't say it directly, so I wrote this article, I hope to help some netizens!

The setting steps are as follows: 1. Right-click the title axis of the Details Festival, select "Format Festival", open "Festival expert";

2. Click the Color tab, check the checkbox "Background Color"; 3. Here we use the report field "Brand" as a condition for setting color, first adjust the default background color. Select the "Custom" option from the drop-down list and adjust the color you want in the Color dialog, I take RGB (200, 171, 162), then click "Add to Custom Color" button and select This custom color, then press the "OK" button; 4. Press the "Formula" button and write the following conditions format formula (Basic syntax): select case ({MyAccess): select case Case "Spirit" formula = RGB (244, 126, 254) Case "quattro" formula = RGB (142, 142, 255) case "jvc" formula = crlime case else formula = defaultattribute end SELECT

5. Save the formula and close the Formatting Formula Editor dialog; 6. Click the "OK" button in the "Section Expert". 7. The final effect is as follows:

Note: The above is for the message information festival, other festival can also set the background color, it is not all listed here! In order to save the layout, the picture is invited to my album.

转载请注明原文地址:https://www.9cbs.com/read-66185.html

New Post(0)