Function NnetWritItm() Foundation
Changes a value segment of a property item.
NnetWritItm( <cObjectName> , ;
[<nObjectType>] , ; // Default: OBJ_USER
<cPropertyName> , ;
<cPropertyValue> , ;
[<nSegment>] , ; // Default: 1
[<lEraseNextSegments>] , ; // Default: .F.
[<cFileServer|nConnectID>] ; // Default: NnetSname()
) --> lSuccess
Returns .T. if a value segment is successfully changed or .F. in case of a failure (refer to NnetError() when the operation fails).
The function is used to write values to properties of type item, not of type set. The user must have write access to the property <cPropertyName> which is associated with the bindery object <cObjectName>.
<cPropertyValue>
This is a string of max. 128 bytes which gets written to the value segment specified with <nSegment>.
<nSegment>
An integer that contains the sequential number of the value segment to be changed.
<lEraseNextSegments>
If .T. is passed for this parameter, the value segment with the sequential number <nSegment> becomes the last segment of the property and all subsequent segments are deleted.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.