Search Results for table

 

DeleteTableProc

Takes two parameters, a TableName and ProcName

 

DeleteTableField

Takes two parameters, a TableName and FieldName

 

DeleteTableRltn

Takes two parameters, a TableName1 and TableName2

 

LoadTable

Takes one parameter, TableName

 

EmptyTable

Takes one parameter, the name of a 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.

 

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.

 

AppendTable

Takes one parameter, TableName

 

DeleteTable

Takes one parameter, TableName

 

CopyTable

Takes four parameters, DestinationTable, SourceTable, bWithParents, bWithPWHashes

 

LoadTableFields

Takes one parameter, TableName

 

UpdateTableField

Takes seven parameters, TableName, OldFieldName, NewFieldName, Label, Note, Attr, DevNote

 

UnloadTableFiles

Takes one parameter, TableName

 

UpdateTableProc

Takes ten parameters, TableName, OldProcName, NewProcName, Type, Params, GroupTypes, Label, Note, DevNote, Source

 

ETableStream

Takes two parameters, ExcelTableData, Options

 

UpdateTableRltn

Takes eight parameters, TableName, OldOtherTableName, NewOtherTableName, ParentChild, Ratio, Note, Attr, DevNote

 

NewTableField

Takes six parameters, TableName, FieldName, Label, Note, Attr, DevNote

 

LoadTableFiles

Takes one parameter, TableName

 

NewTableProc

Takes nine parameters, TableName, ProcName, Type, Params, GroupTypes, Label, Note, DevNote, Source

 

ResetTableNextAlias

Takes one parameter, TableName

 

NewTableRltn

Takes seven parameters, TableName, OtherTableName, ParentChild, Ratio, Note, Attr, DevNote

 

ReorderTableFields

Takes two parameters, TableName, FieldList

 

NewTable

Takes two parameters, TableName, AutoAlias

 

ReorderTableRltns

Takes two parameters, TableName, RltnList

 

ReorderTableProcs

Takes two parameters, TableName, ProcList

 

MakeValidTable$

Takes one parameter, Source

 

IsValidTable$

Takes one parameter, a Source value

 

ListTables

Has no parameters

 

ETableReply

Takes 2 parameters, Result, Status

 

HtmlDTable

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

 

HtmlETable

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

 

HtmlTable

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

 

Detach

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

 

Delete

Takes two parameters, TableName and a boolean expression

 

DetachWithDelete

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

 

Flush

Takes one parameter, TableName

 

Get

Takes two parameters, TableName, IfLenFld

 

ChildrenAlias

Takes two parameters, ChildTableName, Mode

 

Lookup$

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

 

LastAlias$

Takes one parameter, TableName

 

FirstAlias$

Takes one parameter, TableName

 

Children

Takes two parameters, ChildTableName, Mode

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

Parents

Takes three parameters, ChildTableName, ParentTableName, Mode

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

UpdateOrNew

Takes two parameters, TableName, IfLenFld

 

ParentsAlias

Takes three parameters, ChildTableName, ParentTableName, Mode

 

Search

Takes three parameters, TableName, SearchTerms, SearchInFields

 

Update

Takes two parameters, TableName, IfLenFld

 

PWHash

Takes three parameters, TableName, Alias, Password

 

ListRltns

Takes one parameter, TableName

 

ListProcs

Takes one parameter, TableName

 

ListFields

Takes one parameter, TableName

 

UpdateOrNewWithAttach

Takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

New

Takes two parameters, TableName, IfLenFld

 

Lookup

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

 

LoadRecord

Takes two parameters, TableName, RecordAlias

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

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

 

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

 

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

 

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

 

[SearchSort]

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

 

Compress$

Compress any value/table

 

Setup

Takes two parameters, Name, Value

 

WithGroup

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

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

Session

Takes two parameters, Name, Value

 

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

Time

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

 

[FieldList]

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

 

FieldDef$

Takes one parameter, FieldName

 

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.

 

IsGroupType$

Takes two parameters: Username, GroupTypes

 

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.

 

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.

 

Export and Import of Database Schema

ExportSchema and ImportSchema are BuiltIn procedures that are available for use with source control systems.

 

GetFieldDefs

Has no parameters.

 

[L] Lookup (DB Field Attribute)

Takes one parameter.

 

Folder and File Structure

Brief overview on the file structure and contents under Moxie. The files and folders discussed in this post are those that are essential when upgrading to the most recent version of Moxie , or when troubleshooting server errors.

 

LTrimFields

Takes one parameter, FieldBaseToTrim

 

NameField

Takes three parameters, FieldBase, OldFieldName, NewFieldName

 

KeepUnique

Takes one parameter, FieldName

 

ListQueries

Takes no parameters

 

Parse

Takes seven parameters, FieldBase, Destination, Source, bAny, Delimiter, Item, IfLenFld

 

SendEmail

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

 

SetIf

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

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

SaveJsonFile

Takes two parameters, FileName, Options

 

EnsureFields

Takes two parameters, FieldBase, FieldNames

 

SSReference

A command to help build spreadsheets

 

Text

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

 

CsvStream

Takes two parameters, CSVData, bNoHeaders

 

FixFields

Takes one parameter, a single character

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

KeepIfFound

Takes 3 parameters, FieldBase, Fields, SearchTerms

 

Geo

Takes nine parameters, FieldBase, Destination, Function, Source1, Source2, Source3, Source4, Options, IfLenFld

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

 

Moxie.cfg Config

The Moxie.cfg file is read on server start and controls aspects that cannot be changed while the server is running

 

JsonStream$

Has one parameter, Options

 

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

 

Cloudflare Integration

Cloudflare is a first and foremost a Web Application Firewall and Content Distribution Network, among other additional services

 

 

 

MOX Coding and Programing Language Syntax Documentation

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

 

Licensing

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

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

 

[L] Lookup (Top Query)

Takes one parameter.

 

RawStream$

Takes one parameter, a top query destination variable

 

CheckPw$

Takes two parameters, User and Password

 

CFApi$

Takes three parameters Method, URL, Body

 

RecoverHtml$

Takes one parameter, EscapedHTMLString, and returns the Unescaped Version of this string

 

TabStream$

Takes one parameter, bNoHeaders

 

Lang$

Takes one parameter, Source

 

SessionIsGroupType$

Takes one parameter, a List of possible group types

 

Setup$

Takes one parameter, Name

 

 

Get Started with Service Setup on a Server

A single Windows OS can host many instances of Moxie.Build, these steps will guide you through the setup process.

 

Critical

Takes one parameter, the Name of the critical section

 

CFPurge

Takes one parameter, the URL to purge from CloudFlare's cache

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

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.

 

[!] 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. To use different values than labels, for each comma separated pair, specify the value first inside of { } followed by the label.

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 this attribute is used with a Top Query in MOX, it will ensure the field value matches one of the options; if not, it will throw a run time error.

 

CsvStream$

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

 

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.

 

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.

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

Sleep

Takes one parameter.

 

[Pull] List of Fields from another Query

Takes three parameters, QueryName, FieldBase, FieldNames

 

FlushAll

Has no parameters

 

ForEach

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

 

EmailErr

Takes two parameters, SubjectPrefix, EmailBody

 

LangWith

Has one parameter, a Content.Lang prefix

 

GoTo

Takes one parameter, a Label