Search Results for table

 

ResetTableNextAlias

Takes one parameter, TableName

 

UnloadTableFiles

Takes one parameter, TableName

 

Setup Table

The Setup Table controls aspects that can be changed while the server is running, and is intended to contain both Moxie.Build specific values as well as application specific.

 

NewTableProc

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

 

NewTableRltn

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

 

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.

 

ETableStream

Takes two parameters, ExcelTableData, Options

 

UpdateTableRltn

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

 

UpdateTableField

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

 

UpdateTableProc

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

 

DeleteTable

Takes one parameter, TableName

 

CopyTable

Takes four parameters, DestinationTable, SourceTable, bWithParents, bWithPWHashes

 

DeleteTableField

Takes two parameters, a TableName and FieldName

 

DeleteTableRltn

Takes two parameters, a TableName1 and TableName2

 

DeleteTableProc

Takes two parameters, a TableName and ProcName

 

AppendTable

Takes one parameter, TableName

 

LoadTableFiles

Takes one parameter, TableName

 

NewTableField

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

 

LoadTableFields

Takes one parameter, TableName

 

EmptyTable

Takes one parameter, the name of a database table

 

LoadTable

Takes one parameter, TableName

 

ReorderTableProcs

Takes two parameters, TableName, ProcList

 

ReorderTableRltns

Takes two parameters, TableName, RltnList

 

NewTable

Takes two parameters, TableName, AutoAlias

 

ReorderTableFields

Takes two parameters, TableName, FieldList

 

MakeValidTable$

Takes one parameter, Source

 

HtmlDTable

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

 

ETableReply

Takes 2 parameters, Result, Status

 

IsValidTable$

Takes one parameter, a Source value

 

HtmlETable

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

 

ListTables

Has no parameters

 

HtmlTable

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

 

Get

Takes two parameters, TableName, IfLenFld

 

LoadRecord

Takes two parameters, TableName, RecordAlias

 

NewWithAttach

Takes 4 parameters, TableName, Relation, OtherTableName, IfLenFld

 

PWHash

Takes three parameters, TableName, Alias, Password

 

ParentsAlias

Takes three parameters, ChildTableName, ParentTableName, Mode

 

Parents

Takes three parameters, ChildTableName, ParentTableName, Mode

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

Lookup$

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

 

FirstAlias$

Takes one parameter, TableName

 

LastAlias$

Takes one parameter, TableName

 

Lookup

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

 

ListFields

Takes one parameter, TableName

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

New

Takes two parameters, TableName, IfLenFld

 

Detach

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

 

UpdateOrNewWithAttach

Takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

UpdateOrNew

Takes two parameters, TableName, IfLenFld

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

Children

Takes two parameters, ChildTableName, Mode

 

ListProcs

Takes one parameter, TableName

 

Delete

Takes two parameters, TableName and a boolean expression

 

ChildrenAlias

Takes two parameters, ChildTableName, Mode

 

Search

Takes three parameters, TableName, SearchTerms, SearchInFields

 

Flush

Takes one parameter, TableName

 

DetachWithDelete

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

 

Update

Takes two parameters, TableName, IfLenFld

 

ListRltns

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.

 

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

 

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

 

GetFieldDefs

Has no parameters.

 

HtmlForm

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

 

WithGroup

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

 

FlushAll

Has no parameters

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

ListQueries

Takes no parameters

 

FixFields

Takes one parameter, a single character

 

EnsureFields

Takes two parameters, FieldBase, FieldNames

 

NameField

Takes three parameters, FieldBase, OldFieldName, NewFieldName

 

LTrimFields

Takes one parameter, FieldBaseToTrim

 

KeepIfFound

Takes 3 parameters, FieldBase, Fields, SearchTerms

 

KeepUnique

Takes one parameter, FieldName

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

Geo

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

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

Parse

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

 

SSReference

A command to help build spreadsheets

 

SetIf

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

 

Text

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

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

Time

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

 

Session

Takes two parameters, Name, Value

 

Setup

Takes two parameters, Name, Value

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

SendEmail

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

 

SaveJsonFile

Takes two parameters, FileName, Options

 

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.

 

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.

 

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.

 

Export and Import of Database Schema

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

 

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.Build , or when troubleshooting server errors.

 

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.

 

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.

 

EmailErr

Takes two parameters, SubjectPrefix, EmailBody

 

ForEach

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

 

GoTo

Takes one parameter, a Label

 

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.

 

CFPurge

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

 

Critical

Takes one parameter, the Name of the critical section

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

 

 

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.

 

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.

 

 

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.

 

Help with Markdown

Markdown enables simple formatting of plain text via easy to remember conventions. This page will provide you with some pointers on what formatting options are available with "Moxie Flavored Markdown".

 

 

[FieldList]

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

 

 

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.

 

[L] Lookup (DB Field Attribute)

Takes one parameter.

 

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

 

Guid$

Takes no parameters

 

IsGroupType$

Takes two parameters: Username, GroupTypes

 

JsonStream$

Has one parameter, Options

 

Ctid$

Has no params

 

Cuid$

Has no params

 

FieldDef$

Takes one parameter, FieldName

 

Lang$

Takes one parameter, Source

 

SessionIsGroupType$

Takes one parameter, a List of possible group types

 

Setup$

Takes one parameter, Name

 

TemplateType

Takes one parameter, Type

 

Path$

Takes one parameter, Index

 

RawStream$

Takes one parameter, a top query destination variable

 

RecoverHtml$

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

 

CheckPw$

Takes two parameters, User and Password

 

[Pull] List of Fields from another Query

Takes three parameters, QueryName, FieldBase, FieldNames

 

Sleep

Takes one parameter.

 

Cloudflare Integration

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

 

LangWith

Has one parameter, a Content.Lang prefix

 

Meta

Takes any unspecified data, intended for use by external systems

 

PaaS

Takes three parameters, Url, SaaSTenant, InputQuery, OutputQuery

 

Moxie.cfg Config

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

 

[Meta]

Takes no parameters

 

AntiCsrf$

Has no params

 

CFApi$

Takes three parameters Method, URL, Body

 

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.

 

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.

 

[L] Lookup (Top Query)

Takes one parameter.