Search Results for db

 

MakeValidDBField$

Takes one parameter, Source value

 

IsValidDBField$

Takes one parameter, a Source value

 

 

 

 

[Time] (DB Field Attribute)

Has no parameters.

 

Offset

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

 

Num

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

 

MergeRecords

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

 

WorkWith

Takes one parameter, FieldBase

 

PickFirstField

Takes three parameters, FieldBase, Destination, SourceFields

 

ForeignWith

Takes a single parameter, a FieldBase

 

Plus8Encode

Takes three parameters, FieldBase, Fields, IfLenFld

 

[Pull] List of Fields from another Query

Takes three parameters, QueryName, FieldBase, FieldNames

 

TopWith

Takes one parameter, FieldBase

 

TopQuery

Takes one parameter, FieldBase

 

Parse

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

 

Group

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

 

Images

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

 

Format

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

 

Geo

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

 

KeepIfAll

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

 

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

 

KeepIfSimilar

Takes 3 parameters, FieldBase, pOne, pTwo

 

DeleteFields

Takes two parameters, FieldBase, FieldNameList

 

MergeFields

Takes 4 parameters, FieldBase, Destination, SourceFields, Delimiter

 

Lookup

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

 

KeepIfFound

Takes 3 parameters, FieldBase, Fields, SearchTerms

 

Folders

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

 

EnsureFields

Takes two parameters, FieldBase, FieldNames

 

Files

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

 

[Sort] (DB Relationship Attribute)

Accepts a space separated list of field names.

 

WithAll

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

 

Set

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

SetIf

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

 

SetFirst

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

 

[Custom] HTML (DB Field Attribute)

Allows any extra HTML Attributes to be specified in the Control's HTML Tag

 

WithGroup

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

 

[_#] Format if not blank (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

Text

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

 

Sort

Takes two parameters, FieldBase, SortFieldList

 

Value

Takes four parameters, FieldBase, Destination, Function, IfLenFld

 

Time

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

 

SetIfAny

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

 

SetIfAll

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

 

SetNew

Takes four parameters, FieldBase, FieldName, Source, IfLenFld

 

SetLast

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

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

 

[L] Lookup (DB Field Attribute)

Takes one parameter.

 

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

 

SendEmail

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

 

Pull

Takes three parameters, QueryName, FieldBase, FieldNames

 

ResetFields

Takes two parameters, FieldBase, FieldNames

 

Lang

Takes four parameters, FieldBase, Destination, Source, IfLenFld

 

[#] Format (DB Field Attribute)

Takes 1 parameter, a formatting mask

 

 

[Date] (DB Field Attribute)

Has no parameters.

 

 

NewFields

Takes two parameters, FieldBase, FieldNames

 

KeepFields

Takes two parameters, FieldBase, FieldNamesList

 

Pivot

Takes two parameters, FieldBase, PivotField

 

NameField

Takes three parameters, FieldBase, OldFieldName, NewFieldName

 

Plus8Decode

Takes three parameters, FieldBase, Fields, IfLenFld

 

EnsureNavFields

Takes two parameters, FieldBase, FieldNamesList

 

LTrimFields

Takes one parameter, FieldBaseToTrim

 

LFillFields

Takes one parameter, a FieldBase

 

Download Moxie.Build

Upgrade Notes
In order to Upgrade an existing copy of Moxie.Build V4 or V5 to the most recent version of V5, you can use the Upgrade example files found in the Tools folder to help automate upgrading multi-service systems, or you can just replace the following files/folders:
Moxie.exe
Moxie.dll
Default.dll
/DBStore/BuiltIn.*
/Lib
/Public/BuiltIn
/Templates/Admin
/Templates/Clean
/Templates/Default
/Templates/Default5
/Templates/Report

 

ParseRecords

Takes two parameters, WorkFieldBase + FieldToParse, Delimiter

 

Exists$

Takes two parameters, DBTableName, DBTableRecordAlias

 

SaveJsonFile

Takes two parameters, FileName, Options

 

Math

Takes a variable number of parameters

 

LoadNulFile

Takes two parameters, FileName, bHasHeader

 

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

 

[Placeholder]

Takes one parameter

 

[MText] Multiline Text Editor

Accepts one optional numeric value as a parameter

 

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.

 

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

Takes a variable number of conditional logical if statements

 

AjaxReply

Has no parameters

 

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.

 

 

 

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.

 

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.

 

[Max]

Accepts a numeric value as a parameter.

 

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.

 

Style Guide, Procedures and Code Documentation

This style guide provides comprehensive standards for writing clean, maintainable, and consistent MOX code for Moxie.Build. Code examples on this page are for illustrative purposes and are only intended to demonstrate style conventions.

 

TemplateRuntime

Takes one parameter, Name

 

SessionIsGroupType$

Takes one parameter, a List of possible group types

 

RawStream$

Has no parameters

 

NewTableProc

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

 

FixFields

Takes one parameter, a single character

 

Build

Takes a variable number of parameters

 

UpdateTableProc

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

 

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.

 

Select / Case / End Select

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

 

OnError / End OnError

Takes one parameter, Control

 

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.

 

Left$

Takes two parameters, Source, Value

 

LastAny$

Takes two parameters, Source, Search

 

JsonStream$

Has one parameter, Options