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

 

KeepIfAll

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

 

KeepNone

Takes no parameters

 

KeepLast

Takes no parameters

 

EnsureFields

Takes two parameters, FieldBase, FieldNames

 

Geo

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

 

KeepFor

Takes two parameters, FromIndex, ToIndex

 

KeepIf

Takes 4 parameters, FieldBase, Left, Comparison, Right

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

KeepIfAny

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

 

KeepIfFound

Takes 3 parameters, FieldBase, Fields, SearchTerms

 

JsonEmbed

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

 

KeepFirst

Takes no parameters

 

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

 

Session

Takes two parameters, Name, Value

 

UpdateTableRltn

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

 

UpdateTableField

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

 

CsvStreamWS

Takes two parameters, CSVData, bNoHeaders

 

CsvStream

Takes two parameters, CSVData, bNoHeaders

 

UpdateOrNewWithAttach

Takes four parameters, TableName, Relation, OtherTableName, IfLenFld

 

SkipCalls

Takes no parameters

 

Setup

Takes two parameters, Name, Value

 

UpdateOrNew

Takes two parameters, TableName, IfLenFld

 

Update

Takes two parameters, TableName, IfLenFld

 

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

 

SendEmail

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

 

LoadPipeFileWS

Takes two parameters, FileName, bHasHeader

 

LoadNulFile

Takes two parameters, FileName, bHasHeader

 

LoadTabFileWS

Takes two parameters, FileName, bHasHeader

 

LoadTabFile

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

 

SaveJsonFile

Takes two parameters, FileName, Options

 

Reset

Takes no parameters.

 

SaveRawFile

Takes two parameters, FileName, bUseHeaders

 

SaveNulFile

Takes two parameters, FileName, bUseHeader

 

NulStream

Takes two parameters, Data, bHasHeader

 

NewFields

Takes two parameters, FieldBase, FieldNames

 

Pivot

Takes two parameters, FieldBase, PivotField

 

Offset

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

 

Get

Takes two parameters, TableName, IfLenFld

 

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.

 

GoTo

Takes one parameter, a Label

 

Throttle / End Throttle

Takes one parameter, SlowWritePercent

 

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.

 

OnError (Continue)

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

 

JoinQuery

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

 

LangWith

Has one parameter, a Content.Lang prefix

 

LookupQuery

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

 

[!] Limited Selection List (DB Field Attribute)

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.

 

LoadPipeFile

Takes two parameters, FileName, bHasHeader

 

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.

 

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.

 

 

Moxie.cfg Config

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

 

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 one parameter.

 

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