Search Results for record

 

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.

 

LoadRecord

Takes two parameters, TableName, RecordAlias

 

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.

 

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

 

MergeRecords

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

 

NewRecords

Takes one parameter, QuantityToAdd

 

ParseRecords

Takes two parameters, WorkFieldBase + FieldToParse, Delimiter

 

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.

 

[D] Default Value

Parameter is a value or an expression to be used when a record is created if no value is specified during the creation. The value or expression is run through the Assignment Attribute in order to calculate it's result.

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

Home

Web/API Development Platform with an in-memory database, native-code CMS, and a powerful runtime environment Whether you are a new startup taking off or optimizing your business model for growth, Moxie.Build provides a robust platform with a proven track record for marketplaces, eCommerce, and business process automation

 

KeepFor

Takes two parameters, FromIndex, ToIndex

 

KeepIfFound

Takes 3 parameters, FieldBase, Fields, SearchTerms

 

CsvStream

Takes two parameters, CSVData, bNoHeaders

 

EnsureFields

Takes two parameters, FieldBase, FieldNames

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

KeepIfAny

Takes a variable number of parameters, FieldBase, Test1, Test2, [etc...]

 

JsonEmbed

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

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

KeepFirst

Takes no parameters

 

KeepIfAll

Takes a variable number of parameters, FieldBase, Test1, Test2, [etc..]

 

Geo

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

 

Parents

Takes three parameters, ChildTableName, ParentTableName, Mode

 

NewTableRltn

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

 

PWHash

Takes three parameters, TableName, Alias, Password

 

ParentsAlias

Takes three parameters, ChildTableName, ParentTableName, Mode

 

NewTableField

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

 

LoadTableFields

Takes one parameter, TableName

 

Get

Takes two parameters, TableName, IfLenFld

 

New

Takes two parameters, TableName, IfLenFld

 

Lookup

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

 

UpdateOrNewWithAttach

Takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

UpdateOrNew

Takes two parameters, TableName, IfLenFld

 

UpdateTableRltn

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

 

UpdateTableField

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

 

Update

Takes two parameters, TableName, IfLenFld

 

Session

Takes two parameters, Name, Value

 

Search

Takes three parameters, TableName, SearchTerms, SearchInFields

 

SkipCalls

Takes no parameters

 

Setup

Takes two parameters, Name, Value

 

Text

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

 

Time

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

 

WithAll

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

 

TabStream

Takes two parameters, Data, bHasHeader

 

SetEnsure

Takes two parameters, FieldName, Value

 

SetFirst

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

SetLast

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

WithGroup

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

 

HtmlDTable

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

 

HtmlForm

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

 

HtmlTable

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

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

XmlMerge

Takes two parameters, [WorkWith]+Scope, EmbedScope

 

XmlStream

Takes one parameter, Data

 

GetFieldDefs

Has no parameters.

 

SendEmail

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

 

LoadCsvFile

Takes two parameters, FileName, bHasHeader

 

LoadNulFile

Takes two parameters, FileName, bHasHeader

 

LoadTabFile

Takes two parameters, FileName, bHasHeader

 

ListQueries

Takes no parameters

 

KeepLast

Takes no parameters

 

KeepNone

Takes no parameters

 

KeepUnique

Takes one parameter, FieldName

 

NewFields

Takes two parameters, FieldBase, FieldNames

 

SaveJsonFile

Takes two parameters, FileName, Options

 

SaveNulFile

Takes two parameters, FileName, bUseHeader

 

SaveRawFile

Takes two parameters, FileName, bUseHeaders

 

Reset

Takes no parameters.

 

NulStream

Takes two parameters, Data, bHasHeader

 

Offset

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

 

Pivot

Takes two parameters, FieldBase, PivotField

 

EmptyTable

Takes one parameter, the name of a database table

 

CopyUnique

Takes four parameters, DestinationQuery, SourceQuery, UniqueField, UniqueValue

 

FailIfRecError

Has no parameters

 

ForEach

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

 

CopyFirst

Takes two parameters, DestinationQuery, SourceQuery

 

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.

 

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.

 

Public Method WorkQuery Example

In this example, you will see how to use a public method that works on or with the current WorkQuery that you pass into the method.

 

OnError (Continue)

Used as a scoping keyword, similar to WorkWith/End WorkWith .

 

Sleep

Takes one parameter.

 

Try / Catch / Finally / End Try

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

 

LookupQuery

Takes six parameters, DestQuery, SourceQuery, DestDestFld, DestXFld, DestYFld, SourceYFld

 

GoTo

Takes one parameter, a Label

 

JoinQuery

Takes 5 parameters, DestinationQuery, SourceQuery, DestinationMatchField, SourceMatchField, Mode

 

LangWith

Has one parameter, a Content.Lang prefix

 

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

 

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

 

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

 

[L] Lookup (DB Field Attribute)

Takes one parameter.

 

Learn More About the Content Management System

Prerequisites: This page assumes that you have already set up your Moxie.Build server and logged in as an admin user. This page covers some of the basics that are involved in using the Content Management aspects of the Moxie.Build system.

 

 

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.

 

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

 

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.

 

 

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

 

Cloudflare Integration

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

 

Tcp$

Takes three parameters, ServerName, Port, bSecure, Send

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

HtmlHistory

Takes two parameters, Title, Path

 

TabStream$

Takes one parameter, bNoHeaders

 

RawStream$

Takes one parameter, a top query destination variable

 

SessionIsGroupType$

Takes one parameter, a List of possible group types

 

Setup$

Takes one parameter, Name

 

ChildrenAlias

Takes two parameters, ChildTableName, Mode

 

Delete

Takes two parameters, TableName and a boolean expression

 

Detach

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

 

Children

Takes two parameters, ChildTableName, Mode

 

AppendTable

Takes one parameter, TableName

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

Backfill

Has no parameters

 

[WQRecCount]

Has no parameters

 

CFApi$

Takes three parameters Method, URL, Body

 

CsvStream$

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

 

[TQRecCount]

Has no parameters

 

Moxie.cfg Config

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

 

[AnyRecError]

Takes no parameters.

 

[CountIf]

Takes one parameter, TestCondition

 

Lookup$

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

 

NulStream$

Takes one parameter, bNoHeader

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

LastAlias$

Takes one parameter, TableName

 

FirstAlias$

Takes one parameter, TableName

 

GeoDistance$

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

 

JsonStream$

Has one parameter, Options