Search Results for name

 

NameField

Takes three parameters, FieldBase, OldFieldName, NewFieldName

 

TemplateName

Takes one parameter, Name

 

[TQName]

Has no parameters

 

DnsName$

Takes one parameter, an IPv4 Address

 

[WQName]

Has no parameters

 

NamesToLabels

Takes no parameters

 

HttpCookie

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

 

HttpHeader

Takes two parameters, name, value

 

HtmlUpload

Takes seven parameters, Location, Mode, Prompt, Path, Class, Name, HelpText

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

HtmlSearchBox

Takes 6 parameters, Location, Mode, ActionPath, Name, Class, Prompt

 

AppendTable

Takes one parameter, TableName

 

SubTemplate

Takes three parameters, Location, Mode, TemplateName

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

TemplateRuntime

Takes one parameter, Name

 

Delete

Takes two parameters, TableName and a boolean expression

 

Tcp$

Takes three parameters, ServerName, Port, bSecure, Send

 

[Pull] List of Fields from another Query

Takes up to three parameters, QueryName, FieldBase, FieldNames

 

SaveFile

Takes two parameters, FileName, FileData

 

NewQuery

Takes 3 parameters, QueryName, SourceQuery, bWork

 

[New] Field

Takes one parameter, a comma separated list of FieldNames

 

NewEComQuery

Takes one parameter, QueryName

 

WorkIf

Takes one parameter, FieldName

 

Session$

Takes one parameter, Name

 

Setup$

Takes one parameter, Name

 

Http$

Takes 9 parameters, ServerName, Port, bSecure, Mode, Path, [ContentType], [extraHeader], [body], [rtnHeaders]

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

FieldDef$

Takes a single parameter, in the format of TableName.FieldName#Deff where Deff is one of: Label, Attr, Note, or DevNote

 

DeleteTableField

Takes two parameters, a FieldBase and FieldNamesList

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

LoadTabFile

Takes two parameters, FileName, bHasHeader

 

NewFields

Takes two parameters, FieldBase, FieldNames

 

DeleteFields

Takes two parameters, FieldBase, FieldNameList

 

EnsureFields

Takes two parameters, FieldBase, FieldNames

 

Images

Takes up to 6 parameters, FieldBase, FileName, Action, Val1, Val2, IfLenField

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

SaveRawFile

Takes two parameters, FileName, bUseHeaders

 

SaveTabFile

Takes two parameters, FileName, bUseHeaders

 

SendEmail

Takes 10 parameters, FieldBase, From, To, Subject, Body, bMerge, AttachName, AttachPath, Slow, IfLenFld

 

ResetFields

Takes two parameters, FieldBase, FieldNames

 

SaveJsonFile

Takes two parameters, FileName, Options

 

SaveNulFile

Takes two parameters, FileName, bUseHeader

 

LoadTableFields

Takes one parameter, TableName

 

New

Takes two parameters, TableName, IfLenFld

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

Detach

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

 

DetachWithDelete

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

 

EmptyTable

Takes one parameter, the name of a database table

 

Search

Takes three parameters, TableName, SearchTerms, SearchInFields

 

Update

A database command which takes two parameters, TableName, IfLenFld

 

UpdateOrNew

A database command which takes two parameters, TableName, IfLenFld

 

UpdateOrNewWithAttach

A database command which takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

Session

Takes two parameters, Name, Value

 

Setup

Takes two parameters, Name, Value

 

UnloadTableFiles

Takes one parameter, TableName

 

[FieldList]

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

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

[Temp] Field

Parameter is a single new field name or a space separated list of new field names.

 

[Sort] (DB Field Attribute)

Used as a Relationship Attribute, the parameter is a space separated list of field names

 

If (Not) / Then

Takes a single Field name, with an optional Not operator, followed by the conditional statement

 

Foreign

Takes a single parameter, a QueryName

 

ForEach

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

 

[Ensure] Field Exists

Takes a variable number of parameters, a comma separated list of TopQuery variable names

 

Critical

Takes one parameter, the Name of the critical section

 

DeleteQuery

Takes one parameter, the name of the query

 

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

 

[L] Lookup (DB Field Attribute)

Parameter is the database path that is to be looked up in the form of TableName|Alias|FieldName where it may be a specific fixed path or you may use {} to replace one or more of the path components where the value inside the {} is a field name in the current record.

 

[A] Copy Attached Value

Parameter must first specify only looking at Parents ( PARENT ) or only looking at Children ( CHILD ). The remainder of the parameter should be the table and field name you are after in the form of TableName.FieldName.

 

Image

Has 4 parameters, FileName, Action, Val1, Val2

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

LoadTableFiles

Takes one parameter, TableName

 

[&] Count Attached Child Records

Takes 1 Parameter which is the Table name that you want to count the Attached Records in. The specified Table must be a Child of the calling Record's Table.

 

SetEnsure

Takes two parameters, FieldName, Value

 

SetNew

Takes two parameters, FieldName, FieldValue

 

LastAlias$

Takes one parameter, TableName

 

HttpSoap$

Takes 8 parameters, ServerName, Port, bSecure, Path, ExtraHttpHeaders, Envelope, ExtraBody, xml

 

Const

Takes two parameters, the variable name and a value

 

Get

Takes one parameter, a TableName

 

LoadRecord

Takes two parameters, TableName, RecordAlias

 

LoadTable

Takes one parameter, TableName

 

[+] Sum of Field of Attached Child Records

Parameter is the table and field name that you want to sum in the form of TableName.FieldName. The specified Table must be a Child of the calling Record.

 

Children

Takes two parameters, ChildTableName, Mode

 

PWHash

Takes three parameters, TableName, Alias, Password

 

Parents

Takes three parameters, ChildTableName, ParentTableName, Mode

 

FirstAlias$

Takes one parameter, TableName

 

TopField

Takes one parameter, FieldName

 

[L] Lookup (Top Query)

Parameter is the database path that is to be looked up in the form of TableName|Alias|FieldName where it may be a specific fixed path or you may use {} to replace one or more of the path components where the value inside the {} is a field name in the current record.

 

WorkQuery

Takes one parameter, QueryName

 

QBox

Takes two parameters, QueryName, Title

 

DnsIp$

Takes one parameter, a domain name

 

ProcECom

Takes one parameter, QueryName

 

SaveHttpFile

Takes two parameters, FileName, URL

 

Include

Takes one parameter, ProcedureName

 

ListQueries

Takes no parameters

 

LoadRawFile

Takes one parameter, FilePath

 

Overview for PHP Developers

This hands-on experience article is written by an experienced PHP developer, and serves as an overview to help you understand the similarities and differences.

 

 

Learn More About Managing Files

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 managing files and folders in the Moxie.Build system.

 

LTrimFields

Takes one parameter, FieldBaseToTrim

 

MergeRecords

Takes 5 parameters, FieldBase, GroupBy, MergeField, Delimiter, bKeepBlanks

 

LFillFields

Takes one parameter, a FieldBase

 

Templates Documentation

Prerequisites: This tutorial assumes that you have already learned about Managing Files .

 

JsonStream

Used to manipulate a WorkQuery into a JSON type

 

FixFields

Takes one parameter, a single character

 

JoinQuery

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

 

ETableStream

Takes two parameters, ExcelTableData, Options

 

KeepIfAny

Takes a variable number of parameters, FieldBase, Test1, Test2, [etc...]

 

KeepUnique

Takes two parameters, WorkFieldBase, UniqueValueField

 

KeepIfAll

Takes a variable number of parameters, FieldBase, Test1, Test2, [etc..]

 

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.

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

GetFieldDefs

Has no parameters.

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

HtmlDropdown

Takes 5 parameters, Location, Mode, Title, Element, Class

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

XmlMerge

Takes two parameters, [WorkWith]+Scope, EmbedScope

 

XmlStream

Takes one parameter, Data

 

HtmlNav

Takes 7 parameters, Location, Mode, Title, TitleLink, Class, HtmlPre, HtmlApn

 

HtmlNavbar

Takes 10 parameters, Location, Mode, Title, TitleLink, Class, Fixed, bNotResponsive, bInverted, HtmlPre, HtmlApn

 

HtmlTable

Takes 6 parameters, Location, Mode, Class, bNoHeader, bNoAutoAlign, bNoIDTags

 

HtmlDTable

Takes 5 parameters, Location, Mode, Class/ID, Init, bNoAutoAlign

 

HtmlETable

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

 

HtmlForm

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

 

Text

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

 

 

Reset

Takes no parameters.

 

LookupQuery

Takes six parameters, DestQuery, SourceQuery, DestDestFld, DestXFld, DestYFld, SourceYFld

 

Offset

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

 

ParseRecords

Takes two parameters, WorkFieldBase + FieldToParse, Delimiter

 

Pivot

Takes two parameters, FieldBase, PivotField

 

MapQuery

Takes five parameters, DestQuery, SourceQuery, SourceXFld, SourceYFld, SourceZFld

 

Sort

Takes two parameters, FieldBase, SortFieldList

 

SSReference

A command to help build spreadsheets

 

SetIf

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

 

SetIfAll

Takes a variable number of parameters, FieldBase, Destination, Source, Test1, Test2, [etc...]

 

SetIfAny

Takes a variable number of parameters, FieldBase, Destination, Source, Test1, Test2, [etc...]

 

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.

 

MakeValidTable$

Takes one parameter, Source

 

TemplateType

Takes one parameter, Type

 

Record Report

Record Reports 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 a Report, the Procedure is expected to produce output to be displayed to the user.

 

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.

 

Folder

Takes two parameters, FolderPath, Action

 

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.

 

ForeignWith

Takes a single parameter, a FieldBase

 

Lang$

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

JsonStream$

Used to manipulate a WorkQuery into a JSON type

 

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.

 

Html

Takes 3 parameters, Location, Mode, Text

 

CheckPw$

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

 

Dir$

Takes one parameter, a path-mask

 

File

Takes 3 parameters, Destination, Action, Source

 

FailIfRecError

Has no parameters

 

AppendQuery

Takes 3 parameters, DestinationQuery, SourceQuery, bMoveIt

 

Table Report

Table Reports 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 a Report, the Procedure is expected to produce output to be displayed to the user.

 

[WQFieldList]

Has no parameters

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

Function

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

 

Backfill

Has no parameters

 

Remote

Takes three parameters, Url, InputQuery, OutputQuery

 

[Raw] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form at the Field's location.

 

[Reset] Fields

Has no parameters

 

Lookup

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

 

Return

Takes a variable number of parameters.

 

[!] Limited Selection List

Parameter is a comma separated list (without quotes) of the options made available to the user and 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 it 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.

 

Build

Takes a variable number of parameters

 

Setting Up Your Moxie

This guide explains how to download Moxie.Build from our website, and launch it locally for development.

 

[Footer] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form, below the Field's location.

 

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

 

[Header] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form, above the Field's location.

 

[TQFieldList]

Takes no parameters

 

[Me]

Takes no parameters

 

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.

 

GoTo

Takes one parameter, a Label

 

CopyTable

Takes two parameters, destinationTable, sourceTable

 

TopQuery

Takes one parameter, FieldBase

 

Login

Takes three parameters, Login, Password, bRememberMe

 

TopWith

Takes one parameter, FieldBase

 

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

 

[CountIf]

Takes one parameter, TestCondition