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.
Seek Option constant (macro editor) |
Seek Option constant (script editor) |
Value |
Description |
DBSeekAfter |
nlDBSeekAfter |
8 |
Seeks the record immediately after the specified key value. |
DBSeekAfterOrEqual |
nlDBSeekAfterOrEqual |
4 |
Seeks the record equal to or immediately after the specified key value. |
DBSeekBefore |
nlDBSeekBefore |
32 |
Seeks the record immediately before the specified key value. |
DBSeekBeforeOrEqual |
nlDBSeekBeforeOrEqual |
16 |
Seeks the record equal to or immediately before the specified key value. |
DBSeekFirstEqual |
nlDBSeekFirstEqual |
1 |
Seeks the first record equal to the specified key value. |
DBSeekLastEqual |
nlDBSeekLastEqual |
2 |
Seeks the last record equal to the specified key value. |
© 2004-2021 looksoftware. All rights reserved.