Show TOC

COPYMOVE Prompt() CommandLocate this document in the navigation structure

The COPYMOVE Prompt() command is used to prompt the user for a source and destination data range.

The syntax is: PROMPT(COPYMOVE, [variable], [second variable], [label], [dimensions], [default members])

Where Means Default Value

COPYMOVE

Select two data ranges.

n/a

[variable]

The name of the returned variable.

%SELECTION%

[second variable]

The name of the second returned variable.

%TOSELECTION%

[label]

The text to display to the user.

Enter your selection

[default members]

The members that are selected by default for the source and destination dimensions

0 stands for "All"

1 takes into account the context members

Example: enter 01 to have all members by default in the source dimensions and the context member in the destination dimensions.

Example: enter 11 to have the context members proposed by default in the source and the destination dimensions.