Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All
I need to define a field in script with the below text format
my text format is 'Segoe Script'
and i want to assign a colour to it in the script red
so when ever i call it on the front end it should come as red colur and my text format should be "Segoe Script"
say i created letter
load * inline
[
'A' as myfield,(in the script with Segoe Script format and redcolour to it)
];
output is as below
my field
Setting the font in Setup / Document Property / Font does not work for you?
Why do you need it in script when you can do it in front end as shown by Marcio above. It's much easier where you have no fields to add
yes aravind good question, i know there is a option as shown by marico , but i want only a particualr format of text as field
I made this suggestion because I do not think I can do what you want.
You can use
SET vRed = RGB(128,0,0);
and then use if condition in script to create a field for color.
Temp:
if(A=10,$(vRed)) as RedColor
Resident YourTable Name;
And use Redcolor field in dimensions for Background Color
I do not know how to do for Text Format but this doesn't serve any purpose except we get a fixed color, which can also be given as red() instead of this field.