Bitmap DataWindow expression function
Description
Displays the specified bitmap.

You can use the Bitmap function only in
a computed field.
Syntax
1 |
<span>Bitmap</span> ( <span>string</span> ) |
Argument |
Description |
---|---|
string |
A column containing bitmap files, a string |
Return Values
The special datatype bitmap, which cannot be
used in any other function.
Usage
Use Bitmap to dynamically display a bitmap
in a computed field. When string is a column
containing bitmap files, a different bitmap can display for each row.
Examples
These examples are all expressions for a computed
field.
This expression dynamically displays the bitmap file contained
in the column named employees:
1 |
<span>Bitmap</span>(employees) |
If the employees column is column 3, this next expression
gives the same result as the expression above:
1 |
<span>Bitmap</span>(#3) |
This expression displays the bitmap tools.bmp:
1 |
<span>Bitmap</span>("TOOLS.BMP") |
This expression tests the value in the column named
password and then uses the value to determine which bitmap to display:
1 |
<span>Bitmap</span>(If(password = "y", "yes.bmp", "no.bmp")) |
See Also
“Example 3: creating
a row indicator”