Monday, January 13, 2025
Tip of the Day: Referencing Images for the Advanced Rich Text Control
Product: R:BASE 11
Build: 11.0.2.20107 or higher
Section: Reports/Labels
Keywords: Advanced Rich Text, Mail Merge, Image, VARBIT
Did you know images can now be referenced within the Advanced Rich Text control
using the Mail Merge feature?
An essential feature of the Advanced Rich Text control is the ability to insert
R:BASE columns and variables. When the "Mail Merge" setting is checked, the
property will cause the Rich Text component to scan the text, searching for
occurrences of valid Data Pipeline field names surrounded by less than/greater
than characters (e.g., <CustID>) and variable names surrounded by braces (e.g.
{vCustomerName}). If field/variable names are found, they will be replaced with
the field/variable value. Only column names from the table on which the report
is based are supported.
VARBIT fields and variables are automatically interpreted as images with the
added image support. For non-VARBIT fields and variables, the name must be
appended with the "IMAGEFILE" display format, which applies to values
containing the image file's path.
Mail Merge Example Uses:
Example 01:
-- Displays the contact image, last name, and first name values directly from
the Contacts table
<ContPhoto>
<ContLName>, <ContFName>
Example 02:
-- Displays the contact image (from a file path), last name, and first name
values from the Contacts table
<ContPhotoPath|IMAGEFILE>
<ContLName>, <ContFName>
Example 03:
-- Displays the contact image, last name, and first name values from defined
variables
{vContPhotoVarBit}
{vContLName}, {vContFName}
Example 04:
-- Displays the contact image (from a file path), last name, and first name
values from defined variables
{ContPhotoPath|IMAGEFILE}
{ContLName}, {ContFName}
The Advanced Rich Text Editor allows for the rich formatting of text content,
including common structural treatments like lists, formatting treatments like
bold and italic text, and drag-and-drop inclusion and sizing of images. The
editor's toolbar is extensive, allowing users to achieve a high degree of
customization.
https://www.rbase.com/support/rsyntax/advanced_rich_text_editor.html
Very Best R:egards,
Razzak.
R:BASE Technologies, Inc.
https://www.rbase.com
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/rbase-l/1299337048.23679.1736754800870%40email.ionos.com.