Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference

> ## changeObjectType

> This procedure changes the object type of an object to another object type.

> Location: ry\app\rydesmngrp.i

> Parameters:

> `INPUT pcObjectFileName AS CHARACTER`

> The object’s filename.

> `INPUT pcObjectTypeCode AS CHARACTER`

> The new object type code.

> `INPUT plRemoveDefaultAttr AS LOGICAL`

> If YES, remove attribute values stored against the object that have the same values as the attribute stored against the object’s class anywhere in the class hierarchy.

> `INPUT plRemoveNonOTAttr AS LOGICAL`

> If YES, remove attribute values stored against the object that are not stored against the object’s class anywhere in the class hierarchy.

> Notes: None

> Examples: See the `changeObjectType` procedure in `ry\app\ryrepmngrp.i`.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095