Salesforce

How Do I Call a Program By Its Name? (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Call a Program By Its Name? (Magic xpa 3.x)

If you have a program with a public name, you can call the program directly via that name. This is usually not necessary, as you can use the Call Prog operations for most calls.

However, if you have a situation where you want to store the name in a table, this is useful. It’s also useful if you won’t have access to the program while you are coding, because it is in a cabinet file that is only available at runtime.

Calling a program by name

  1. Press F4 to create an operation line.

  2. Press C to create a Call line.

  3. Type N to select By Name for the call type, or use the pull-down list. Tab.

  4. Zoom to access the Call by Name Details dialog box. Zoom from the Public program name field to the expressions list, and type in the name, or select a variable that will contain the name at runtime.

  5. If the program you wish to call is in another cabinet file, do the same for the Cabinet file name.

Now, the program named in the variable will be called at runtime.

See also

The Online and Rich Client Samples projects (program EL10 and REL10)

Reference
Attachment 
Attachment