zwieback89
Programmer
Hi,
I display @AccessType in the details section where the formula is:
if {web_HD_Orders.Vascular_access} = "Fistula" or
{web_HD_Orders.Vascular_access} = "Graft: Natural" or
{web_HD_Orders.Vascular_access} = "Graft: Synthetic" then
{@Fistula}
else
{@Catheter}
where @Fistula is:
"Needle: " + {web_HD_Orders.needle_type} +
" Guage: " + " " + {web_HD_Orders.needle_guage} +
" Length: " + " " + {web_HD_Orders.needle_length};
and @Catheter is:
"Catheter: "+ {web_HD_Orders.catheter_type} +
" Art Lumen: " + " " + cstr({web_HD_Orders.arterial_lumen}) +
" Art Ven: " + " " + cstr({web_HD_Orders.venous_lumen});
How am I to show the labels within quotes in teal and bold and the field values in normal black font ? I have looked into all the examples and they say something like:
if {tablename.fieldname} = "somevalue" then
red
else
black
But this is not the logic I want to follow. Is there a way we can combine different colors as I am showing as one entire label in the details section.
This is confusing to me.
Padmaja.
I display @AccessType in the details section where the formula is:
if {web_HD_Orders.Vascular_access} = "Fistula" or
{web_HD_Orders.Vascular_access} = "Graft: Natural" or
{web_HD_Orders.Vascular_access} = "Graft: Synthetic" then
{@Fistula}
else
{@Catheter}
where @Fistula is:
"Needle: " + {web_HD_Orders.needle_type} +
" Guage: " + " " + {web_HD_Orders.needle_guage} +
" Length: " + " " + {web_HD_Orders.needle_length};
and @Catheter is:
"Catheter: "+ {web_HD_Orders.catheter_type} +
" Art Lumen: " + " " + cstr({web_HD_Orders.arterial_lumen}) +
" Art Ven: " + " " + cstr({web_HD_Orders.venous_lumen});
How am I to show the labels within quotes in teal and bold and the field values in normal black font ? I have looked into all the examples and they say something like:
if {tablename.fieldname} = "somevalue" then
red
else
black
But this is not the logic I want to follow. Is there a way we can combine different colors as I am showing as one entire label in the details section.
This is confusing to me.
Padmaja.