Search Results for table

 

LoadTableFields

Takes one parameter, TableName

 

LoadTable

Takes one parameter, TableName

 

UnloadTableFiles

Takes one parameter, TableName

 

LoadTableFiles

Takes one parameter, TableName

 

EmptyTable

Takes one parameter, the name of a database table

 

CopyTable

Takes two parameters, destinationTable, sourceTable

 

AppendTable

Takes one parameter, TableName

 

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.

 

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.

 

ETableStream

Takes two parameters, ExcelTableData, Options

 

HtmlETable

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

 

HtmlDTable

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

 

DeleteTableField

Takes two parameters, a FieldBase and FieldNamesList

 

MakeValidTable$

Takes one parameter, Source

 

IsValidTable$

Takes one parameter, a Source value

 

ETableReply

Takes 2 parameters, Result, Status

 

HtmlTable

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

 

 

 

 

 

 

 

 

 

 

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

FirstAlias$

Takes one parameter, TableName

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

Children

Takes two parameters, ChildTableName, Mode

 

Lookup$

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

 

Search

Takes three parameters, TableName, SearchTerms, SearchInFields

 

Update

A database command which takes two parameters, TableName, IfLenFld

 

LastAlias$

Takes one parameter, TableName

 

PWHash

Takes three parameters, TableName, Alias, Password

 

New

Takes two parameters, TableName, IfLenFld

 

LoadRecord

Takes two parameters, TableName, RecordAlias

 

UpdateOrNewWithAttach

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

 

Lookup

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

 

UpdateOrNew

A database command which takes two parameters, TableName, IfLenFld

 

Get

Takes one parameter, a TableName

 

Parents

Takes three parameters, ChildTableName, ParentTableName, Mode

 

Delete

Takes two parameters, TableName and a boolean expression

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

DetachWithDelete

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

 

Detach

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

 

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

 

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

 

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

 

[SearchSort]

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

 

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

 

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

 

Compress$

Compress any value/table

 

[AccKey] Keyboard Accelorator Key

Takes one parameter which is the keyboard key which will be used as the Access Key for a given Database Table's field.

*Note: By default, each Field's Access Key will be initialized to the first character of the Field's Label.

 

FieldDef$

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

 

 

Learn More about Frontend Development

Prerequisites: This tutorial assumes that you have already set up a Category and Procedure if necessary. This page covers some of the basics that are involved in Front End development using the MOX language.

 

 

Setup

Takes two parameters, Name, Value

 

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.

 

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

 

 

CsvStream

Takes two parameters, CSVData, bNoHeaders

 

SSReference

A command to help build spreadsheets

 

SendEmail

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

 

SaveJsonFile

Takes two parameters, FileName, Options

 

Text

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

 

GetFieldDefs

Has no parameters.

 

WithGroup

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

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

JsonStream

Used to manipulate a WorkQuery into a JSON type

 

FixFields

Takes one parameter, a single character

 

EnsureFields

Takes two parameters, FieldBase, FieldNames

 

KeepIfFound

Takes 3 parameters, FieldBase, Fields, SearchTerms

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

NameField

Takes three parameters, FieldBase, OldFieldName, NewFieldName

 

LTrimFields

Takes one parameter, FieldBaseToTrim

 

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.

 

JsonStream$

Used to manipulate a WorkQuery into a JSON type

 

CFPurge

Takes one parameter, the string URL to send to CloudFlare's API

 

Critical

Takes one parameter, the Name of the critical section

 

CFApi$

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

 

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.

 

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.

 

EmailErr

The email address that will receive any run time errors that a website encounters

 

LangWith

Has one parameter, a Content.Lang prefix

 

[Pull] List of Fields from another Query

Takes up to three parameters, QueryName, FieldBase, FieldNames

 

Lang$

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

ForEach

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

 

Setup$

Takes one parameter, Name

 

GoTo

Takes one parameter, a Label

 

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

 

Firefox Extension - It's All Text!

This guide explains how to set up the Firefox extension It's All Text! to more easily edit your MOX procedures.

 

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

 

[Sort] (DB Field Attribute)

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

 

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.

 

CsvStream$

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

 

CheckPw$

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

 

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.