Chapter Contents

Previous

Next
_UPDATE_

_UPDATE_



Updates the object based on its current contents or on the contents of a different HSERVICE entry


Syntax
Details
Example

Syntax

CALL NOTIFY(OLE-object-name,'_UPDATE_'<,in-hservice>);

Where... Is type... And...
in-hservice
C specifies the name of the HSERVICE entry to use to update the object.


Details

The _UPDATE_ method recreates an object and updates its contents based on its current attributes. The in-hservice parameter is used only with OLE objects and is the name of an HSERVICE catalog entry. When you specify the in-hservice parameter, the object specified by OLE-object is changed to the object stored in the HSERVICE entry referenced by the in-hservice parameter.

If you use the _UPDATE_ method without specifying in-hservice, the object's contents are updated with the current OLE object source. This is useful for manually updating a linked object.


Example

In the following example, the object stored in OBJ1 is replaced by the SASUSER.EXAMPLES.SOUND1.HSERVICE object:

length refid $ 30;
call notify('obj1','_update_',
            'sasuser.examples.sound1.hservice');


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.