The following constants can be used anywhere in macros or scripts in place of the actual values.
If you are retrieving the value of a property or parameter, scripts or macros will return the integer value, whereas Inspector will display the constant equivalent.
When using constants in the script editor, each constant must be prefaced by nl.
Find Option constant (macro editor) |
Find Option constant (script editor) |
Value |
Description |
DBFindBackward |
nlDBFindBackward |
-1 |
Searches backward, stopping at the beginning of the Recordset. If a match is not found, the cursor is positioned at the beginning of the recordset and the BOF property is set to True. |
DBFindForward |
nlDBFindForward |
1 |
Searches forward, stopping at the end of the Recordset. If a match is not found, the cursor is positioned at the end of the recordset and the EOF property is set to True. |
© 2004-2021 looksoftware. All rights reserved.