version 6.0
COPY SET (srcSet; dstSet)
Parameter | Type | Description | |
srcSet | String | Source set name | |
dstSet | String | Destination set name |
Description
The COPY SET command copies the contents of the set srcSet into the set dstSet.
Both sets can be process, interprocess or local sets.
4D Server: In Client/Server, interprocess and process sets are maintained on the server machine, while local sets are maintained on the client machines. COPY SET allows you to copy sets between the two machines. See the discussion 4D Server and Sets in the 4D Server Reference manual for more information.
Examples
1. The following example, in Client/Server, copies the local set "$SetA", maintained on the client machine, to the process set "SetB", maintained on the server machine:
COPY SET("$SetA";"SetB")
2. The following example, in Client/Server, copies the process set "SetA", maintained on the server machine, to the local process set "$SetB", maintained on the client machine:
COPY SET("SetA";"$SetB")
See Also
Sets.