Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- NetLib for Clipper, Version 6.0 - n_b_prwrite( <cobject>, <ntype>, <cproperty>, <cvalue> ) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
N_B_PRWRITE( <cObject>, <nType>, <cProperty>, <cValue> )


Parameters

<cObject>
Name of an object.

<nType>
Object type.

<cProperty>
Name of an item property of the object.

<cValue>
Data to write to the property.


Returns

Logical true if successful, false otherwise.

If the function returns false, you can call N_ERROR(), which will 
return the NetWare error code.


Description

The new data will be written to the specified property. If the property 
or object does not exist, no action will be taken.

Note  Do not use this function to modify set properties. Instead 
use N_B_LINK() and N_B_UNLINK().

You must have the proper write access level to the property in order to 
modify it.


Example

// Modify TEST-USER's full name 
N_B_PRWRITE('TEST-USER', 1,   ; // Object
            'IDENTIFICATION', ; // Property
            'Test User #1'    ) // New data



See Also: N_B_LINK() N_B_PRREAD() N_B_PRTYPE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson