Search Results for error

 

Error

Takes one parameter, the text of the error to throw.

 

OnError / End OnError

Takes one parameter, Control

 

[AnyRecError]

Takes no parameters.

 

[State] Error State

Takes one parameter.

 

FailIfRecError

Has no parameters

 

 

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.

 

Try / Catch / Finally / End Try

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

 

Delete

Takes two parameters, TableName and a boolean expression

 

Get

Takes two parameters, TableName, IfLenFld

 

Login

Takes three parameters, Login, Password, bRememberMe

 

DetachWithDelete

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

 

DeleteTable

Takes one parameter, TableName

 

Detach

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

 

Backfill

Has no parameters

 

Login$

Takes three parameters, Login, Password, bRememberMe

 

PWHash$

Takes three parameters, TableName, Alias, Password

 

Lang$

Takes one parameter, Source

 

LoadFile$

Takes three parameters, FilePath, Start, Len

 

Shell$

Takes two parameters Command, Options

 

HtmlHistory

Takes two parameters, Title, Path

 

Attach

Takes 3 parameters, ParentTableName, ChildTableName, IfLenFld

 

HtmlAlert

Takes three parameters, Location, ClassNames, AlertText

 

HtmlErr

Takes one parameter, ErrMsg

 

NewFields

Takes two parameters, FieldBase, FieldNames

 

Parse

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

 

KeepFor

Takes two parameters, FromIndex, ToIndex

 

NameField

Takes three parameters, FieldBase, OldFieldName, NewFieldName

 

Reset

Takes no parameters.

 

Text

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

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

ResetFields

Takes two parameters, FieldBase, FieldNames

 

SSReference

A command to help build spreadsheets

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

PWHash

Takes three parameters, TableName, Alias, Password

 

Update

Takes two parameters, TableName, IfLenFld

 

New

Takes two parameters, TableName, IfLenFld

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

UpdateOrNew

Takes two parameters, TableName, IfLenFld

 

Folders

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

 

Images

Takes up to 6 parameters, FieldBase, Destination, Action, Source, Value, IfLenField

 

DeleteFields

Takes two parameters, FieldBase, FieldNameList

 

Files

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

 

Json$

Has two parameters: Source, Name

 

EmailErr

Takes two parameters, SubjectPrefix, EmailBody

 

Critical

Takes one parameter, the Name of the critical section

 

AppendFile

Takes two parameters, FileName, FileData

 

[Ensure] Field Exists

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

 

GoTo

Takes one parameter, a Label

 

Folder

Takes three parameters, FolderPath, Action, Source

 

File

Takes three parameters, Destination, Action, Source

 

[Ajax]

Takes 3 parameters, Event, DestinationID, Path

 

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.

 

 

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

 

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.

 

[Raw] Raw HTML

Accepts one parameter which is the raw HTML content to be placed in the form at the Field's location.

 

[!] Assert (Top Query)

Parameter is a comma separated list (using CSV rules and not in quotes) of the fixed hard coded values to select from

 

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.

 

Moxie.cfg Config

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

 

[CountIf]

Takes one parameter, TestCondition

 

Http$

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

 

GeoDistance$

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

 

[L] Lookup (Top Query)

Takes one parameter.

 

NewEComQuery

Takes one parameter, QueryName

 

IncrKillCount

Has one parameter.

 

Image

Has 4 parameters, Destination, Action, Source, Value

 

SaveFile

Takes two parameters, FileName, FileData

 

Command Line with .mox file

A .mox file, with MOX code in it, can be run from the command line while a Moxie.Build system is not otherwise already running.

 

TRONLog

Takes one parameter, OutputText

 

SetKillCount

Takes one parameter, Value