Release 10.1A: OpenEdge Development:
Programming Interfaces

> ## Multiple-item transfer example

> The following procedure demonstrates the essential elements of a multiple-item data transfer. It implements a basic data-based Copy operation using the customer table of the sports database. You can test the result by running the procedure and pasting the result into a window system editor like Notepad or Wordpad in Windows:

> i-clpmul.p
>     CLIPBOARD:MULTIPLE = TRUE.
>     CLIPBOARD:ITEMS-PER-ROW = 11.

>     FOR EACH Customer:
>         CLIPBOARD:VALUE = STRING(Cust-Num).
>         CLIPBOARD:VALUE = Name.
>         CLIPBOARD:VALUE = Address.
>         CLIPBOARD:VALUE = Address2.
>         CLIPBOARD:VALUE = City.
>         CLIPBOARD:VALUE = State.
>         CLIPBOARD:VALUE = Postal-Code.
>         CLIPBOARD:VALUE = Country.
>         CLIPBOARD:VALUE = Phone.
>         CLIPBOARD:VALUE = STRING(Balance).
>         CLIPBOARD:VALUE = STRING(Credit-Limit).
>     END.

>     CLIPBOARD:MULTIPLE = FALSE.

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