Thread

Takes a variable number of parameters

Description:

Starts a Procedure in a new thread. The first parameter is the name of the Public Method. Optional additional parameters are the input parameters to the public method. The number of input parameters from the Thread command must match the number of input parameters defined in the Public Method.

Usage:

Procedure, [...Public Method Parameters...]

Remarks:

Public methods called as a thread may only take named parameters as inputs, a query name is not compatible. Thread strategy should focus on passing values that allow the thread to load what it needs from the database or other sources vs. passing pre-populated input queries.

Examples:

Thread "MemTab.Contact.CustomExportThread", tSessionUser, fAgeL, fAgeU, fCities, fCountries, fEConsent, fEHelp

Thread "Proc.SyncToRemote"