Search Results for result

 

[WQResult]

Takes either one parameter, ResultValue, or no parameters

 

[TQResult]

Takes either one parameter, ResultValue, or no parameters

 

[If] Assignment (Top Query)

Parameter is divided into two parts, the Test and the Result if True. The test comes prior to the keyword of Then and the Result if True comes after.

 

[If] Assignment (DB Field Attribute)

Parameter is divided into two parts, the Test and the Result if True. The test comes prior to the keyword of Then and the Result if True comes after.

 

[SearchFieldList]

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

 

[SearchSort]

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

 

ETableReply

Takes 2 parameters, Result, Status

 

CsvStream$

Takes one parameter bNoHeaders and returns the result to an assigned variable

 

[D] Default Value

Parameter is a value or an expression to be used when a record is created if no value is specified during the creation. The value or expression is run through the Assignment Attribute in order to calculate it's result.

 

Similar%

Takes 2 parameters, pNum1, pNum2

 

Similar$

Takes 2 parameters, pString1, pString2

 

RemoveAny$

Takes two parameters, Source and Search

 

Remove$

Takes two parameters, Source and Search

 

Sqr%

Takes one parameter, Value

 

TallyAny%

Takes two parameters, Source, Match

 

RemainAny$

Takes two parameters, Source and Search

 

Tally%

Takes two parameters, Source, Match

 

Tally$

Takes two parameters, Source, Match

 

RetainAny$

Takes two parameters, Source, Search

 

ReplaceAny$

Takes one existing Source value, and two parameters of equal length, SearchVals, NewVals

 

Reverse$

Takes one parameter, Source

 

Right$

Takes two parameters, Source, Value

 

Replace$

Takes one existing Source value, and two parameters, Search, NewVal

 

RTrim$

Takes two parameters, Source, Search

 

RTrimAny$

Takes two parameters, Source, Search

 

Rnd%

Takes two parameters, Low, High

 

Repeat$

Takes two parameters, Source, Count

 

ListQueries

Takes no parameters

 

Offset

Takes 7 parameters, FieldBase, Destination, Source, OffsetVal, Operator, OpValue, IfLenFld

 

KeepFor

Takes two parameters, FromIndex, ToIndex

 

FixFields

Takes one parameter, a single character

 

Group

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

 

Reset

Takes no parameters.

 

WithGroup

Takes six parameters, FieldBase, GroupByField, Destination, Action, Source, IfLenFld

 

HtmlETable

Takes 6 parameters, Location, Mode, Div, Data, Script, Extra

 

WithAll

Takes five parameters, FieldBase, Destination, Action, Source, IfLenFld

 

Sort

Takes two parameters, FieldBase, SortFieldList

 

Text

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

 

Truncate$

Takes two parameters, Source, MinLength

 

UCase$

Takes one parameter, Source

 

TrimAny$

Takes two parameters, Source, Match

 

TallyAny$

Takes two parameters, Source, Match

 

Trim$

Takes two parameters, Source, Search

 

Verify%

Takes two parameters, Source, AllowedCharacters (case sensitive)

 

HtmlJButton

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

 

Search

Takes three parameters, TableName, SearchTerms, SearchInFields

 

HtmlButton

Takes 6 parameters, Location, Mode, ActionLabel, ActionPath, Class, ActionMethod

 

Verify$

Takes two parameters, Source, AllowedCharacters (case sensitive)

 

HtmlAButton

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

 

OnError (Continue)

Used as a scoping keyword, similar to WorkWith/End WorkWith .

 

[Reset] Fields

Has no parameters

 

CopyFields

Takes two parameters, DestinationFields, SourceFields

 

Function

A special type of Private Method, called a Private Function, is intended to return a single value or multiple values simultaneously.

 

Return

Takes a variable number of parameters.

 

[Date] (Top Query)

Has no parameters

 

[DateTime] (Top Query)

Has no parameters

 

[_#] Format if not blank (Top Query)

Takes 1 parameter, a formatting mask

 

[$] Currency (Top Query)

Takes one parameter, Source

 

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.

 

[_#] Format if not blank (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

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.

 

Licensing

Moxie.Build, in short, may be used free of charge for education, development, or non-profit organizations. Whenever it is deployed by government or for-profit organizations to a production environment the license is granted on a subscription basis.

Moxie.Build includes a number of open source components as part of its distribution. These are subject to their own licenses as included with the files for those components.

 

[!] 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.

 

Record Action

Record Actions are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As an Action, the Procedure is expected to perform some sort of task, such as an automated set of updates to the Database Record.

 

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.

 

Table Action

Table Actions are presented to the users of the Default Admin interface and are also intended to be made available in a dynamic way to users of a customized front end. As an Action, the Procedure is expected to perform some sort of task, such as an automated set of updates to the Database Table.

 

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.

 

InStrAny%

Takes two parameters, Source, Match

 

InStrAny$

Takes two parameters, Source, Match

 

InStr%

Takes two parameters, Source, Match

 

InStr$

Takes two parameters, Source, Match

 

Left$

Takes two parameters, Source, Value

 

LTrimAny$

Takes two parameters, Source, Search

 

Remain$

Takes two parameters, Source and Search

 

LongDate$

Takes one parameter, a Date value

 

LTrim$

Takes two parameters, Source, Search

 

[TQFldCount]

Takes no parameters

 

[TQMessage]

Takes one parameter, Message, or no parameters

 

[Me]

Takes no parameters

 

[TQFieldList]

Takes no parameters

 

[TQName]

Has no parameters

 

[WQRecCount]

Has no parameters

 

CFApi$

Takes one parameter, a string parameter of the desired API command

 

[TQRecCount]

Has no parameters

 

[WQMessage]

Takes one parameter, Message, or no parameters