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.

 

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.

 

LoadRecord

Takes two parameters, TableName, RecordAlias

 

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

 

KeepIfFound

Takes 3 parameters, FieldBase, Fields, SearchTerms

 

KeepIfAny

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

 

EnsureFields

Takes two parameters, FieldBase, FieldNames

 

Geo

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

 

KeepLast

Takes no parameters

 

KeepIfAll

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

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

KeepFirst

Takes no parameters

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

JsonEmbed

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

 

KeepFor

Takes two parameters, FromIndex, ToIndex

 

CsvStreamWS

Takes two parameters, CSVData, bNoHeaders

 

ParentsAlias

Takes three parameters, ChildTableName, ParentTableName, Mode

 

Parents

Takes three parameters, ChildTableName, ParentTableName, Mode

 

Search

Takes three parameters, TableName, SearchTerms, SearchInFields

 

PWHash

Takes three parameters, TableName, Alias, Password

 

NewTableRltn

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

 

Lookup

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

 

LoadTableFields

Takes one parameter, TableName

 

NewTableField

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

 

New

Takes two parameters, TableName, IfLenFld

 

UpdateTableField

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

 

UpdateOrNewWithAttach

Takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

CsvStream

Takes two parameters, CSVData, bNoHeaders

 

UpdateTableRltn

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

 

UpdateOrNew

Takes two parameters, TableName, IfLenFld

 

Setup

Takes two parameters, Name, Value

 

Session

Takes two parameters, Name, Value

 

Update

Takes two parameters, TableName, IfLenFld

 

SkipCalls

Takes no parameters

 

KeepNone

Takes no parameters

 

Text

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

 

TabStreamWS

Takes two parameters, CSVData, bNoHeaders

 

WithAll

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

 

Time

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

 

SetFirst

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

SetEnsure

Takes two parameters, FieldName, Value

 

TabStream

Takes two parameters, Data, bHasHeader

 

SetLast

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

HtmlDTable

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

 

HtmlBlocks / End HtmlBlocks

Takes two parameters, Location, Mode

 

HtmlTable

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

 

HtmlForm

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

 

XmlMerge

Takes two parameters, [WorkWith]+Scope, EmbedScope

 

WithGroup

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

 

GetFieldDefs

Has no parameters.

 

XmlStream

Takes one parameter, Data

 

LoadTabFile

Takes two parameters, FileName, bHasHeader

 

LoadNulFile

Takes two parameters, FileName, bHasHeader

 

NewFields

Takes two parameters, FieldBase, FieldNames

 

LoadTabFileWS

Takes two parameters, FileName, bHasHeader

 

ListQueries

Takes no parameters

 

KeepUnique

Takes one parameter, FieldName

 

LoadCsvFileWS

Takes two parameters, FileName, bHasHeader

 

LoadCsvFile

Takes two parameters, FileName, bHasHeader

 

SaveNulFile

Takes two parameters, FileName, bUseHeader

 

SaveJsonFile

Takes two parameters, FileName, Options

 

SendEmail

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

 

SaveRawFile

Takes two parameters, FileName, bUseHeaders

 

Offset

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

 

NulStream

Takes two parameters, Data, bHasHeader

 

Reset

Takes no parameters.

 

Pivot

Takes two parameters, FieldBase, PivotField

 

Get

Takes two parameters, TableName, IfLenFld

 

FailIfRecError

Has no parameters

 

ForEach

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

 

GoTo

Takes one parameter, a Label

 

CopyUnique

Takes four parameters, DestinationQuery, SourceQuery, UniqueField, UniqueValue

 

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.

 

CopyFirst

Takes two parameters, DestinationQuery, SourceQuery

 

JoinQuery

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

 

Try / Catch / Finally / End Try

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

 

Cloudflare Integration

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

 

Moxie.cfg Config

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

 

Sleep

Takes one parameter.

 

LangWith

Has one parameter, a Content.Lang prefix

 

LookupQuery

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

 

OnError (Continue)

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

 

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

 

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

 

[FieldList]

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

 

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.

 

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.

 

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.

 

Export and Import of Database Schema

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

 

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

 

Tcp$

Takes three parameters, ServerName, Port, bSecure, Send

 

HtmlBlock / End HtmlBlock

Takes two parameters, Location, Mode

 

HtmlHistory

Takes two parameters, Title, Path

 

Setup$

Takes one parameter, Name

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

RawStream$

Takes one parameter, a top query destination variable

 

SessionIsGroupType$

Takes one parameter, a List of possible group types

 

AppendTable

Takes one parameter, TableName

 

Delete

Takes two parameters, TableName and a boolean expression

 

Detach

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

 

EmptyTable

Takes one parameter, the name of a database table

 

ChildrenAlias

Takes two parameters, ChildTableName, Mode

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

Backfill

Has no parameters

 

Children

Takes two parameters, ChildTableName, Mode

 

CFApi$

Takes three parameters Method, URL, Body

 

Ctid$

Has no params

 

Cuid$

Has no params

 

[WQRecCount]

Has no parameters

 

[AnyRecError]

Takes no parameters.

 

[CountIf]

Takes one parameter, TestCondition

 

[TQRecCount]

Has no parameters

 

FirstAlias$

Takes one parameter, TableName

 

Lookup$

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

 

NulStream$

Takes one parameter, bNoHeader

 

Path$

Takes one parameter, Index

 

LastAlias$

Takes one parameter, TableName

 

GeoDistance$

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

 

Guid$

Takes no parameters

 

JsonStream$

Has one parameter, Options