Query Length Property
Description
Specifies the maximum length value that can be stored in an item during Enter
Query mode.
Yes, as QUERY_LENGTH.
No
Required: No
Valid Values
Any integer between 0 to 32767
0
Query Length Restrictions
- The
maximum QUERY_LENGTH is 255 characters.
Usage Notes
- The QUERY_LENGTH property has essentially
the same semantics as the MAXIMUM_LENGTH
property. The primary difference between the two is that QUERY_LENGTH
applies to "enter-query mode" items (items in the navigationally
current block, when the form is in enter-query mode), and MAXIMUM_LENGTH
applies in all other cases.
- Another difference is that for date/time items, the enter-query mode UI
limit is computed by taking the non-enter-query mode UI limit (which is computed
from the format mask), and adding the delta between the items QUERY_LENGTH
and MAXIMUM_LENGTH properties. This computed
UI limit is what is returned by GET_ITEM_PROPERTY(item,
QUERY_LENGTH).
- A value of zero indicates that the effective QUERY_LENGTH
is always the same as the effective MAXIMUM_LENGTH;
it indicates that MAXIMUM_LENGTH applies
to enter-query mode items as well as non-enter-query mode items. A non-zero
value must always be greater than or equal to the MAXIMUM_LENGTH.
Related topic
Maximimum Length Property