PdcApplication.ParamStr

From External Bemet Wiki
Revision as of 11:36, 21 May 2012 by Mike (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

ParamStr as String

Description

List of params that are used in RunScript

Notes

Variable that contains parameters that can be used inside scripts.

Code example

The code below uses the pdc.ParamStr, set by a different script to execute code with, then populating pdc.ParamStr with its outcome for use in the originating script. See also pdc.RunScript.

dim rstrDNID

  rstrDNID = pdc.ParamStr  'use this string to extract the delivery's weight and destination to determine the cheapest transport option.
  pdc.ParamStr = "TransportCompany X"

Availability

Available since January 2009 (From version 3.9)