Search Results for alias

 

LastAlias$

Takes one parameter, TableName

 

IsValidAlias$

Takes one parameter, a Source value

 

FirstAlias$

Takes one parameter, TableName

 

MakeValidAlias$

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

 

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

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

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

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

SetNew

Takes two parameters, FieldName, FieldValue

 

SaveJsonFile

Takes two parameters, FileName, Options

 

Text

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

 

Detach

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

 

DeleteTableField

Takes two parameters, a FieldBase and FieldNamesList

 

DetachWithDelete

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

 

GetFieldDefs

Has no parameters.

 

Get

Takes one parameter, a TableName

 

New

Takes two parameters, TableName, IfLenFld

 

SkipCalls

Takes no parameters

 

DeleteFields

Takes two parameters, FieldBase, FieldNameList

 

UpdateOrNew

A database command which takes two parameters, TableName, IfLenFld

 

Update

A database command which takes two parameters, TableName, IfLenFld

 

FixFields

Takes one parameter, a single character

 

Build

Takes a variable number of parameters

 

JsonStream

Used to manipulate a WorkQuery into a JSON type

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

Group

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

 

Delete

Takes two parameters, TableName and a boolean expression

 

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

 

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.

 

FailIfRecError

Has no parameters

 

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.

 

 

 

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.

 

[SearchFieldList]

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

 

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

 

HttpCookie

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

 

HtmlAButton

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

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

Children

Takes two parameters, ChildTableName, Mode

 

Backfill

Has no parameters

 

GoTo

Takes one parameter, a Label

 

ForEach

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

 

Try / Catch / Finally / End Try

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

 

Lang$

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

JsonStream$

Used to manipulate a WorkQuery into a JSON type