Business Functions Listing generate/enh74c.jpg


Functions are procedures that come predefined with CBS. A large number of functions are built into CBS in order to make the development of useful procedures easier.

See: Business Functions Overview

Functions are divided into the following categories:

1.

String Conversion Functions

2.

Date & Time Functions

3.

Environment

4.

Mathematical Functions

5.

Array Functions

6.

Form Control & Presentation

7.

Input & Display

8.

Database & File Manipulation

9.

Transaction & Record Information

10.

Special Purpose

11.

Mail & Communications

12.

General Ledger

13.

Serial Communications

14.

Account & Record Management

String Conversion Functions

Alltrim()

Asc()

AsChar()

AsTran()

AT()

Chr()

Left()

Len()

Lower()

LTrim()

NumToWord()

Pad()

RAT()

Replicate()

Right()

Rtrim()

Space()

Str()

StrLine()

StrLineCount()

StrTran()

SubStr()

TranInc()

Transform()

TranStr()

Trim()

Upper()

Date & Time Functions

CDOW()

CMonth()

CTOD()

DateFormat()

DateFromMonth()

Day()

DOW()

DTOC()

DTOS()

ForDate()

Month()

MonthEnd()

MonthStart()

Seconds()

Time()

Today()

Week()

Year()

Environment

CompanyName()

ComputerName()

Department()

PasswordInfo()

PathCompany()

PathProgram()

UserName()

UserNumber()

Version()

Mathematical Functions

Abs()

AsVal()

Ceil()

Int()

Max()

Min()

Round()

SQRT()

Array Functions

AAdd()

Array()

ArraySort()

ASize()

Visual Builder Form Control/Presentation

Dictionary()

GroupChange()

HoldRecord()

Input & Display

AnswerYes()

Echo()

EchoBox()

EchoBoxOn()

EchoBoxOff()

EchoStatus()

FormAdd()

FormCreate()

FormResult()

FormShow()

Input()

InputFile()

LookUp()

Database Manipulation (1 of 3)

AddRecord()

CloseIndex()

CloseTable()

CompressTable()

CopyRecord()

CreateTable()

Eof()

Find()

Goto()

GotoBottom()

GotoTop()

GetField()

ImportASCII()

IndexTable()

LockRecord()

OpenTable()

OrderTable()

ReadNote()

RecNo()

Skip()

UnlockRecord()

Write()

WriteNote()

File Manipulation (2 of 3)

CopyFile()

EraseFile()

IsFile()

ReadTextFile()

RenameFile()

ZipFile()

Binary File Manipulation (3 of 3)

CloseFile()

CreateFile()

IsFileEnd()

OpenFile()

ReadFile()

ReadFileLine()

WriteFile()

WriteFileLine()

Transaction & Record Information

BackAllocate()

ExpenseAnalysis()

IsLayby()

IsPaid()

IsPayment()

JobInfo()

JobPriority()

JobStatus()

PriceUpdate()

SpecialName()

SpecialPrice()

StockAnalysis()

Unpaid()

Account & Record Management

AddCustomer()

AddJobCard()

AddStock()

AddTraceProperty()

Special Purpose

BPayCRN()

BPayError()

CardFileBill()

CreateEmailJob()

CreatePrintJob()

FindWindow()

FreeCPU()

Idle()

IsEmpty()

If()

PostMessage()

RunApplication()

ScriptRun()

Security()

SendDirect()

SendEscapeCodes()

Shell()

StockGetQuantity()

StockQuantity()

StockID()

StockMovement()

TagInfo()

TodoAdd()

Type()

WaitCursor()

WaitFile()

Mail & Communications

AddMail()

SendMail()

ModemDial()

Transaction Creation

TranAdd()

TranCreate()

TranWrite()

General Ledger

Journal()

generate/hint1.gifPlease consult the CAPITAL Office help file for scripting syntax for transaction manipulation and processing under the topic title Transaction Script Functions.

Serial Communications

ComClose()

ComError()

ComOpen()

ComRead()

ComSetup()

ComWrite()



CAPITAL VISUAL BUILDER