Syntax
Result = dbCloneObject(SourceID, DestinationID [, SharedDataFlag])
Description
If #PB_Any is used as the ObjectID parameter, the new ID will be returned as 'Result'. Otherwise the value of 'Result' is the same value passed as the ObjectID parameter.
This command will clone the specified object and make an exact duplicate of it. Cloned objects do not share any data allowing you to use the new object in any manner you wish.
See Also
dbAppendObject, dbInstanceObject, dbDeleteObject, dbDeleteObjects, dbObjectExist, dbSaveObject