A graphic image (or multiple images) may be associated with a records in a database table using the Image type field. This field allows users to store .BMP, PMG and JPG files, among many formats, with select records in a table. The Image field properties and options are displayed in the image below.
FIELD NAME – The field name is the unique alphanumeric string that identifies the field in terms of what the contents of that field represents. No two fields in the same table may have the exact same name
REQUIRED – Ninox users have the option to define whether or not the field may be empty. If the “Required” field is set to “Yes”, no record may be stored into the data table if the value of the field is null.
HANDLE FILE AS – The options in this field are used to determine both now the content of this field is to be treated as well as how it is to be displayed. The file handling options are displayed in the image below.
TOOLTIP – Often referred to as “hover help”, this is content that will appear in a small balloon at the point where the cursor is when that cursor is left to hover over the field for a few seconds. Tooltips are used to assist the user in understanding what is expected to be entered into the field. For example, a Employee Image field in the Employee table of a Human Resource database application may include a tooltip that says “Please include a file taken in the last 3 months of this employee where the full face is visible.”
DISPLAY FIELD ONLY IF – This field accesses the Ninox formula editor where the user may define the condition under which this field, and its contents and name, remain visible in the form view of records in this table. A field will only remain visible if the DISPLAY FIELD ONLY IF is left blank or if the formula that appears in the field distills down to a “True” state. For example, to ensure that a field remain invisible at all times and in all situations, a user may enter the formula 1=2 or null. In either of these cases, the result of the formula will always be false and, as a result, the field will never be displayed. Conversely, if you wish for a field to appear or disappear based on the evaluation of a condition, you may define that condition here.
TRIGGER AFTER UPDATE – Please see Working With Triggers in the Ninox Programming Language section of this users manual.
WRITEABLE IF – This field accesses the Ninox formula editor where the user may define the condition under which the contents of this field may be entered or, if they exist, may be edited. Any formula entered into this field must evaluate to “True” for the contents of this field to be modifiable by the end user. If this field is not blank and the formula entered into the field evaluates to a false state, the field will be locked and its contents unmodifiable. For additional information, please see Table Writes in the User Rights, Security & Passwords section of this users manual.
GLOBAL SEARCH – A user has the option to indicate whether or not each specific field within a table is to be targeted by the Ninox Search Engine. If Global Search is selected, the contents of this field will be searched when the Ninox Search Engine (Find) mode is activated. If deselected, the contents of the field will be ignored during search operations. Note that, by default, if the table is excluded from search operations by virtue of its configuration all fields in the table will be ignored irrespective of this setting. Please see Search Engine for additional information on the Ninox Find feature and table configuration.
[DELETE FIELD] – The red button that appears in the bottom, left-hand corner of the screen, if clicked, will give you the option to delete this field from the table. If you confirm the wish to delete the field, the field, and all content in this field in all records of the table will be eliminated. The Delete Field operation can not be undone, so make sure you have made a backup or archive of your Ninox database application prior to deleting any fields.
An example of a image associated with a property record in a property management database application is displayed below.
Note that if you hover your mouse over an image in the image field, the hamburger menu will appear. This menu provides options to view the name of the source file, save the image to your computer, rename the image file as it is stored in Ninox or delete the image entirely from the record in the Ninox database table.