SIMPOL Documentation

Chapter 28. db1util

Table of Contents

The db1util library is the primary collection of helpful functions for working with databases in SIMPOL. The db1util name comes from the type tag names that are associated with the single-user SBME component and the multi-user PPCS component. These functions are key components used throughout the data-aware environment and are also used in numerous support libraries.

db1fieldinfo

Description

Type Tags

None

Object Value

Objects of type db1fieldinfo have no value, and it is an error to try to get or set this value.

db1fieldinfo.new()

Description

Prototype

db1fieldinfo.new ( db1fieldinfo me, type datatype, string name, string displayformat, string help, string comment, string sharename, string sharetype, boolean shareable, string default, string calculation, string validation, boolean required, boolean read_only, integer error )

Parameters

ParameterDefault valueType nameDescription
meNonedb1fieldinfo
datatypeNonetype
nameNonestring
displayformatNonestring
helpNonestring
commentNonestring
sharenameNonestring
sharetypeNonestring
shareableNoneboolean
defaultNonestring
calculationNonestring
validationNonestring
required.falseboolean
read_only.falseboolean
errorNoneinteger

Properties

PropertyTypeDescription
calculationstring
commentstring
datatypetype
defaultstring
displayformatstring
helpstring
namestring
read_onlyboolean
requiredboolean
shareableboolean
sharenamestring
sharetypestring
typetype
validationstring