Search Results for list

 

[FieldList]

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

 

[SearchFieldList]

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

 

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

 

ListProcs

Takes one parameter, TableName

 

[Pull] List of Fields from another Query

Takes three parameters, QueryName, FieldBase, FieldNames

 

ListTables

Has no parameters

 

ListRltns

Takes one parameter, TableName

 

ListFolders

Takes two parameters, FolderPath, bRecursive

 

ListFiles

Takes 3 parameters, Folder, Filter, bShowImgSize

 

ListFields

Takes one parameter, TableName

 

ListQueries

Takes no parameters

 

[WQFieldList]

Has no parameters

 

[TQFieldList]

Takes no parameters

 

 

ReorderTableFields

Takes two parameters, TableName, FieldList

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

ReorderTableRltns

Takes two parameters, TableName, RltnList

 

[New] Field

Takes one parameter, a comma separated list of FieldNames

 

[Temp] Field

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

 

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

 

SessionIsGroupType$

Takes one parameter, a List of possible group types

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

Sort

Takes two parameters, FieldBase, SortFieldList

 

DeleteFields

Takes two parameters, FieldBase, FieldNameList

 

ReorderTableProcs

Takes two parameters, TableName, ProcList

 

Format

Takes five parameters, FieldBase, FieldList, Mask, bBlanks2Zero, IfLenFld

 

[Ensure] Field Exists

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

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

Get Started with Development Examples

This list of examples is going to grow over time. We are open to requests, as well as submissions if you have something you would like to share.

 

[ ? ] Pick First (Top Query)

Parameter is a space separated list of fields to choose from

 

Simple To Do App with MEAN Stack Comparison

In this example, we use a plain old Moxie.Build system and compare it to the MEAN Stack equivalent by building two functionally equivalent versions of a fleshed out To Do List Application. Both versions utilize local user authentication, a relational database system and the security measures found in typical production-level applications on the web today.

 

DeleteTableRltn

Takes two parameters, a TableName1 and TableName2

 

Detach

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

 

DetachWithDelete

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

 

NewTableField

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

 

Login

Takes three parameters, Login, Password, bRememberMe

 

Lookup

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

 

NewTableProc

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

 

EndSession

Has no parameters.

 

NewTableRltn

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

 

Get

Takes two parameters, TableName, IfLenFld

 

TallyAny%

Takes two parameters, Source, Match

 

Tally$

Takes two parameters, Source, Match

 

Tally%

Takes two parameters, Source, Match

 

TallyAny$

Takes two parameters, Source, Match

 

TimeSub$

Takes two parameters, Source, Value

 

TimeDif$

Takes two parameters, Source, Value

 

TimeAdd$

Takes two parameters, Source, Value

 

Right$

Takes two parameters, Source, Value

 

ReplaceAny$

Takes one existing Source value, and two parameters of equal length, SearchVals, NewVals

 

Replace$

Takes one existing Source value, and two parameters, Search, NewVal

 

Session$

Takes one parameter, Name

 

TabStream$

Takes one parameter, bNoHeaders

 

SSColNum$

Takes one parameter, Source

 

SSColAlpha$

Takes one parameter, Source

 

Trim$

Takes two parameters, Source, Search

 

Backfill

Has no parameters

 

TemplateType

Takes one parameter, Type

 

HttpCookie

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

 

Children

Takes two parameters, ChildTableName, Mode

 

DeleteTableProc

Takes two parameters, a TableName and ProcName

 

DeleteTable

Takes one parameter, TableName

 

ChildrenAlias

Takes two parameters, ChildTableName, Mode

 

WebSafe$

Takes one parameter, Source

 

Verify$

Takes two parameters, Source, AllowedCharacters (case sensitive)

 

Verify%

Takes two parameters, Source, AllowedCharacters (case sensitive)

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

HtmlUpload

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

 

HtmlErr

Takes one parameter, ErrMsg

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

SetIf

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

 

SaveTabFile

Takes two parameters, FileName, bUseHeader

 

TabStream

Takes two parameters, Data, bHasHeader

 

Text

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

 

TabStreamWS

Takes two parameters, CSVData, bNoHeaders

 

SaveJsonFile

Takes two parameters, FileName, Options

 

Plus8Decode

Takes three parameters, FieldBase, Fields, IfLenFld

 

Parse

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

 

Plus8Encode

Takes three parameters, FieldBase, Fields, IfLenFld

 

SaveCsvFile

Takes two parameters, FilePath, bUseHeader

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

Time

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

 

HtmlForm

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

 

HtmlETable

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

 

HtmlNav

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

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

HtmlNavbar

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

 

HtmlDTable

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

 

WithAll

Takes five parameters, FieldBase, Destination, Action, Source, IfLenFld

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

WithGroup

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

 

HtmlDropdown

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

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

Offset

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

 

Files

Takes 5 parameters, FieldBase, Destination, Action, Source, IfLenFld

 

ETableStream

Takes two parameters, ExcelTableData, Options

 

Geo

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

 

JsonEmbed

Has six parameters, UniqueParent, DestField, FieldBase, UniqueChild, EmbedFields, Options

 

Group

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

 

CsvStreamWS

Takes two parameters, CSVData, bNoHeaders

 

UpdateTableField

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

 

ParentsAlias

Takes three parameters, ChildTableName, ParentTableName, Mode

 

UpdateTableProc

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

 

CsvStream

Takes two parameters, CSVData, bNoHeaders

 

UpdateTableRltn

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

 

JsonStream

Takes two parameters, Data, Options

 

LoadTabFileWS

Takes two parameters, FileName, bHasHeader

 

LoadTabFile

Takes two parameters, FileName, bHasHeader

 

Math

Takes a variable number of parameters

 

Num

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

 

MergeRecords

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

 

LoadRawFile

Takes one parameter, FilePath

 

KeepLast

Takes no parameters

 

KeepFirst

Takes no parameters

 

LoadCsvFile

Takes two parameters, FileName, bHasHeader

 

LoadJsonFile

Takes two parameters, PathToFile, Options

 

LoadCsvFileWS

Takes two parameters, FileName, bHasHeader

 

RecoverTmpl$

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

 

Select / Case / End Select

Takes a variable number of conditional statements to compare against a single source

 

[Reset]

Fields

 

Trigger

Takes two parameter, URL, InputQuery

 

WorkIf

Takes one parameter, FieldName

 

TRONLog

Takes one parameter, OutputText

 

If (Not) / Then

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

 

If (Not) / And / Or / ElseIf / End If

Takes a variable number of conditional statements

 

NewEComQuery

Takes one parameter, QueryName

 

ProcECom

Takes one parameter, QueryName

 

Prefix

Takes a single string as parameter, which is then appended to each line in the code block.

 

WorkWith

Takes one parameter, FieldBase

 

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.

 

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.

 

[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

 

Cloudflare Origin Certificates

Cloudflare automatically provides free client-facing certificates for your domain, even if using their free service. In addition, they provide free Origin Certificates to encrypt the connection between Cloudflare and your origin Moxie.Build server. Use this article if you are going to have Cloudflare connect to inbound open ports on your Moxie.Build server.

 

Cloudflare Integration

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

 

Cloudflared Tunnel

Cloudflared Tunnel exposes applications running on your local web server on any network with an internet connection with an outbound tunnel that connects directly to Cloudflare's edge network without the need to configure inbound firewall rules.

 

Moxie.http Headers

The optional Moxie.http file is read on server start and controls the default HTTP headers set for all requests.

 

Moxie.cfg Config

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

 

ForEach

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

 

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.

 

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

 

Templates Documentation

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

 

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

 

 

Get Started with Setting up the Development Environment

Developing in Moxie.Build on localhost give you the advantage of working with the template files natively. When working on procedures (MOX code) you need to access that through the Procedures page in the Admin area of a Moxie.Build system, if running the server on localhost or on a remote server. When running on a remote server, you can edit the template files via the Files page in the Admin area.

 

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.

 

[MaxLen]

Accepts a numeric value as a parameter.

 

ETableReply

Takes 2 parameters, Result, Status

 

DeleteQuery

Takes one parameter, the name of the query

 

FailIfRecError

Has no parameters

 

Folder

Takes two parameters, FolderPath, Action

 

File

Takes 3 parameters, Destination, Action, Source

 

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.

 

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.

 

AppendQuery

Takes 3 parameters, DestinationQuery, SourceQuery, bMoveIt

 

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.

 

[TemplateName]

Takes no parameters

 

Len%

Takes one parameter, a Source value

 

Left$

Takes two parameters, Source, Value

 

Len$

Takes one parameter, a Source value

 

Lookup$

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

 

LongDate$

Takes one parameter, a Date value

 

LastAny$

Takes two parameters, Source, Search

 

JsonStream$

Has one parameter, Options

 

JsonEncode$

Has two parameters: Source, Options

 

Keywords$

Has one parameter.

 

Last$

Takes two parameters, Source , Search

 

Lang$

Takes one parameter, Source

 

RawStream$

Takes one parameter, a top query destination variable

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

RecoverHtml$

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

 

RecoverMOX$

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

 

RecoverHtmlObj$

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

 

Plus8Encode$

Takes one parameter, Source

 

ParseCount$

Takes two parameters, Source and Match

 

ParseCount%

Takes two parameters, Source and Match

 

ParseCountAny%

Takes two parameters, Source and Match

 

Plus8Decode$

Takes one parameter, Source

 

ParseCountAny$

Takes two parameters, Source and Match

 

Extract$

Takes two parameters, Source, Search

 

Cuid$

Has no params

 

ExtractAny$

Takes two parameters, Source , Search

 

GeoDistance$

Takes five parameters, Lat1, Long1, Lat2, Long2, Options

 

FieldDef$

Takes one parameter, FieldName

 

Ctid$

Has no params

 

AntiCsrf$

Has no params

 

[TemplateType]

Takes no parameters

 

CFApi$

Takes three parameters Method, URL, Body

 

CsvStream$

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

 

CheckPw$

Takes two parameters, User and Password

 

Greg%

Takes one parameter, a date of the form yyyy-mm-dd

 

InStr%

Takes two parameters, Source, Match

 

HttpHeaders$

Has no parameters

 

InStr$

Takes two parameters, Source, Match

 

JsonDecode$

Has two parameters: Source, Options

 

IsGroupType$

Takes two parameters: Username, GroupTypes

 

Guid$

Takes no parameters

 

Greg$

Takes one parameter, a gregorian number

 

Http$

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

 

HttpHeader$

Has one parameter

 

Rem / EndRem

A type of Prefix which allows the developer to separate blocks of code into organized, defined parts to help provide clarity of the logical block and add structure to the code.

 

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.