Search Results for alias

 

LastAlias$

Takes one parameter, TableName

 

MakeValidAlias$

Takes one parameter, a Source value

 

FirstAlias$

Takes one parameter, TableName

 

IsValidAlias$

Takes one parameter, a Source value

 

 

PWHash

Takes three parameters, TableName, Alias, Password

 

CheckPw$

Takes two parameters, the User Alias, and the User PW to check

 

LoadRecord

Takes two parameters, TableName, RecordAlias

 

Lookup$

Takes one parameter, in the form of: Table|{Alias}|Field

 

Lookup

Takes six parameters, FieldBase, Destination, Table, Alias, SourceField, IfLenFld

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

New

Takes two parameters, TableName, IfLenFld

 

Get

Takes two parameters, TableName, IfLenFld

 

Update

Takes two parameters, TableName, IfLenFld

 

SkipCalls

Takes no parameters

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

DetachWithDelete

Takes 4 parameters, TableName, Relation, OtherTableName, and a boolean expression (optional)

 

Children

Takes two parameters, ChildTableName, Mode

 

Backfill

Has no parameters

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

Detach

Takes 3 parameters, ParentTableName, ChildTableName, and a boolean expression (optional)

 

DeleteTableField

Takes two parameters, a FieldBase and FieldNamesList

 

Delete

Takes two parameters, TableName and a boolean expression

 

UpdateOrNew

Takes two parameters, TableName, IfLenFld

 

Text

Takes six parameters, FieldBase, Destination, Function, Source, Value, IfLenFld

 

SetNew

Takes four parameters, FieldBase, FieldName, Source, IfLenFld

 

SetIf

Takes six parameters, FieldBase, Destination, Source, Left, Comparison, Right

 

HtmlRaw

Takes 3 parameters, Location, Mode, bWithNoHeader

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

GetFieldDefs

Has no parameters.

 

SaveJsonFile

Takes two parameters, FileName, Options

 

FixFields

Takes one parameter, a single character

 

DeleteFields

Takes two parameters, FieldBase, FieldNameList

 

Build

Takes a variable number of parameters

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

JsonStream

Used to manipulate a WorkQuery into a JSON type

 

Group

Takes 7 parameters, FieldBase, GroupBy, GroupTotals, GrandTotals, Seperator, TotalPre, TotalPost

 

HttpCookie

Takes 6 parameters, Name, Value, Path, Domain, Expires, Other

 

JoinQuery

Takes 5 parameters, DestinationQuery, SourceQuery, DestinationMatchField, SourceMatchField, Mode

 

GoTo

Takes one parameter, a Label

 

ForEach

Takes a variable number of parameters, QueryName, MethodName, [Param1, [Param2, etc...]]

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

Using the Backtick `

Some Work Query command parameters can accept a source of either a Work Query Field name or a text literal. Text literals in these cases are prefixed with a backtick ` character.

 

Nightly Management Utility

This utility program manages a server install with one or many Moxie.Build services running by taking care of nightly tasks via a scheduled task

 

Try / Catch / Finally / End Try

A traditional way to check for hard errors and enable those errors to error softly.

 

FailIfRecError

Has no parameters

 

[FieldList]

Parameter is a space separated list of field names to be displayed.

 

[SearchSort]

Parameter is a space separated list of field names to have the display table sorted by when displaying search results.

 

[SearchFieldList]

Parameter is a space separated list of field names to be displayed when the user is viewing results from the Search List.

 

Message Handler

A Message Handler is only ever called by the Database on a Database Event. These Event Messages allow a Developer to intercept operations taking place on a per-record level and implement Event based business logic.

 

Remote Method

A Remote Method may be called by any other Moxie system. It can be used to divide up a large system among a number of backend servers, or as a public API for 3rd parties. In order to call a Remote Method from MOX, the Remote statement is used.

 

Public Method

A Public Method may be called from any other Procedure, by the Default plug-in, or a Custom COM DLL. Each Public Method may either use specific Input Parameters, or it may accept an Input Query.

 

PaaS Method

A PaaS Method may be called by any other Moxie system. In order to call a PaaS Method from MOX, the PaaS statement is used.

 

 

Lang$

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

JsonStream$

Has one parameter, Options

 

Learn More About the Content Management System

Prerequisites: This tutorial assumes that you have already set up your Moxie.Build server and logged in. This page covers some of the basics that are involved in using the Content Management aspects of the Moxie.Build system.

 

HtmlAButton

Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, Extra.

 

RawStream$

Takes one parameter, a top query destination variable

 

 

Syntax and Builtin Values, Procedures and Code Documentation

The MOX language pays heritage to BASIC, but has been crafted for the specific type of work and environment that is demanded of Moxie.Build.

 

[!] Limited Selection List

Parameter is a comma separated list (using CSV rules and not in quotes) of the options made available to the user which are enforced on save. If the Parameter is just the single word Checkbox, then instead of a drop down list with values, the user will be given a single checkbox: If the field is unchecked the value will be blank, and if it is checked the value will be "y". When used with a Top Query in MOX, this will ensure the field value matches one of the options, if not it will throw a run time error.

 

[L] Lookup (Top Query)

Takes one parameter.

 

[L] Lookup (DB Field Attribute)

Takes one parameter.