Uniface Underground -> Undocumented.Features.Only. Go Home

display_length

Name display_length
Returns the number of bytes of a field
Synopsis display_length FieldName
Use Allowed in all components.
Description display_length returns the number of bytes Uniface will attempt to store in the database.   When dealing with multi-byte character sets (like Japanese) its a lifesaver because length returns the number of bytes Uniface  will display on the screen.

Supported since 7.2.03

Return Value In $result the number of bytes 
Example display_length field1
message "The field length %%display_lenth "
Source Dave Siembieda

Copyright © 1999-2000  $UUU  All rights reserved.
Disclaimer. | Site Comments.