Previous Topic

Next Topic

Script Functions

Function

Description

Abort

Terminates code being executed immediately.

AppendPDFs

Appends a list of Accredo generated PDF files to an existing PDF file.

BeginTransaction

Controls batch processing if a record fails inside a batch.

BrowseDataset

Browse a dataset in a modal dialog box.

ColorByName

Creates a colour by its name.

ColorRGB

Creates a colour by its Red, Green and Blue values.

CommitTransaction

Commits a database transaction.

ComparePropertyValues

Compares two data objects and returns a list of properties that differ for the objects.

CopyFieldsByName

Copies table fields to another table matched by field name.

CountryISOCode

Returns the ISO 2 character country code when passed a country name.

CountryName

Returns the country name when passed an ISO 2 character country code.

Debug

Stops execution and displays the variables in scope.

DefaultReadOnlyColor

FD only. Returns the default Read Only colour as set in View > Preferences >Display tab.

DoEvents

Process Messages.

Eval

Evaluates a string as a MaxBasic statement.

ExecuteSQL

Executes a SQL Query, returns a memory table containing results of query.

ExpandEnvironmentVariables

Expand Environment Variables in a string.

FormCapture

Captures the Active Form.

GetActiveEventName

Returns the name of the event that triggered the executing script.

GetActiveFileName

Returns the path and name of the executing file.

GetExcelSheetNames

Returns a string list of sheet names for the given Excel file.

GetPermUser

Get the permission usercode.

GetPropertyValue

Returns the value of a Property of an Object.

GetRef

Returns reference to a Sub statement.

GetScriptOutput

Returns the print log as a StringList.

GetVarType

Returns the type of a given variable.

JoinTransaction

Allows Memory Tables to replace surrogate IDs with actual committed IDs inside a transaction.

LineNumber

Returns the line number in the executing script.

LinkAccountFiles

Returns a collection of tables that support links.

MakePhoneCall

Initiates a phone call using ActivePhone for TAPI.

MemoAccountFiles

Returns a collection of tables that support memos.

MergePDFs

Merges a list of Accredo generated PDF files.

ObjectProperties

Returns a string list object containing property names of the given object,

PivotTable

Returns a pivoted memory table.

PlayScript

Plays a specified script.

ReplaceEnvironmentVariables

Replace Environment Variables in a string.

RollbackTransaction

Rollback a database transaction.

ScriptArgs

Returns a collection of Variants corresponding to the arguments passed.

SendKeys

Sends keystrokes to the active window.

SetPermUser

Temporarily change user for the purposes of running a script. (Encrypted scripts only.)

SetScriptReportResult

Sets script report results.

ShowAlarms

Controls the display of modal alarms while a script is running.

StampHash

Update the CBSUM HashTotal field with a hash total.

TDExtensible

Returns a collection of tables that are TD extensible.

UnZipFiles

Extract contents from a zip or 7z file to a folder.

WordLookup

Looks up a word or set of words in a Masterfile.

ZipFiles

Creates a zip or 7z file.

In This Section

Abort - MaxBasic Function

AppendPDFs - MaxBasic Function

BeginTransaction - MaxBasic Function

BrowseDataset - MaxBasic Function

ColorByName - MaxBasic Function

ColorRGB - MaxBasic Function

CommitTransaction - MaxBasic Function

ComparePropertyValues - MaxBasic Function

CopyFieldsByName - MaxBasic Function

CountryISOCode - MaxBasic Function

CountryName - MaxBasic Function

Debug - MaxBasic Function

DefaultReadOnlyColor - MaxBasic Function

DoEvents - MaxBasic Function

Eval - MaxBasic Function

ExecuteSQL - MaxBasic Function

ExpandEnvironmentVariables - MaxBasic Function

FormCapture - MaxBasic Function

GetActiveEventName - MaxBasic Function

GetActiveFileName - MaxBasic Function

GetExcelSheetNames - MaxBasic Function

GetPermUser - MaxBasic Function

GetPropertyValue - MaxBasic Function

GetRef - MaxBasic Function

GetScriptOutput - MaxBasic Function

GetVarType - MaxBasic Function

JoinTransaction - MaxBasic Function

LineNumber - MaxBasic Function

LinkAccountFiles - MaxBasic function

MakePhoneCall - MaxBasic Function

MergePDFs - MaxBasic Function

MemoAccountFiles - MaxBasic function

ObjectProperties - MaxBasic Function

PivotTable - MaxBasic Function

PlayScript - MaxBasic Function

ReplaceEnvironmentVariables - MaxBasic Function

RollbackTransaction - MaxBasic Function

SendKeys - MaxBasic Function

SetPermUser - MaxBasic Function

SetScriptReportResult - MaxBasic Function

ScriptArgs - MaxBasic Function

ShowAlarms - MaxBasic Function

StampHash - MaxBasic Function

UnZipFiles - MaxBasic Function

TDExtensible - MaxBasicFunction

WordLookup - MaxBasic Function

ZipFiles - MaxBasic Function

See Also

MaxBasic Functions

Book Contents

Book Index