Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

CopyItem

Creates a copy of Item under Parent and returns the ID of the new item.

If IncludeChildren is true, child items will be copied also.

If SkipSections is true, digitized sections will be duplicated also.

Syntax:

Function: CopyItem(Item: String; Parent: String; IncludeChildren: boolean; SkipSections: boolean): String;

Code Reference:

    • 1. Create a New Form application
    • 2. Add a button to the form
    • 3. add Planswift to reference (Planswift9_tlb in the uses)
    • 4. copy code to button onclick event

API Call: