The ImageFlow function allows you to browse images interactively, flicking through a database after a search, to find a particular record.
ImageFlow( "imageFieldName" ; "recIDFieldName" ; "selectionFieldName" {; bgColor ; BlackBoxRefresh} )
Parameters:
| 1 | "imageFieldName" | Name of the field on the Related table containing image, enclosed in quotes and the full Table Occurrence:: Field Name form. |
|---|---|---|
| 2 | "recIDFieldName" | Name of the field on the Related table containing Record ID, enclosed in quotes and the full TableOccurrence:: FieldName form. |
| 3 | "selectionFieldName" | Name of the field on the “Home” table, enclosed in quotes and the full TableOccurrence::FieldName form, where ImageFlow will set the record ID when clicked. Typically this will be the “home” record that the user is currently viewing. |
| 4 | Background color (opt) |
The default color is #0266A1, “Reactor” blue, but you can specify a different color: see “Background Color” in the “Basics” section. |
| 5 | BlackBoxRefresh (opt) |
If you are going to be changing images and require them to be refreshed immediately, this parameter is necessary. It should be set to List( relationship name::PhotoName), where PhotoName is a text calculation field set to the container field. e.g. List( Related Table::PhotoName), where PhotoName = Photo (the container field name). |
Example:
ImageFlow (
"People for ImageFlow::Photograph" ; // field containing image
"People for ImageFlow::Person ID" ; // field containing record ID
"Home::SelectedPersonID" ; // field on Home table
$$bgColor // Background color ;
BlackBoxRefresh( List( People for ImageFlow::PhotoName) ))
Additional Notes: