Xbasic
*BIN_TO_PLAIN Function
Syntax
Text as C = *BIN_TO_PLAIN(B data)
Arguments
- Text
Formatted HTML text that corresponds to the original formatted RTF text.
- data
The contents of a RTF memo field.
Description
Convert from binary to plain text.
The *BIN_TO_HTML() function converts binary RTF text to HTML text. The following images show the RTF text on the form and the converted HTML text in a browser.
Example
This example retrieves the plain text value of a form's commentfield, which is a RTF memo field.
dim tbl as P dim fld as P dim plain as C tbl = table.current() fld = tbl.field_get("comment") html = *bin_to_plain(fld.value_get() )
Limitations
Applies to Alpha Anywhere tables only.
See Also