Sys

PPJ.Runtime.Sys

Namespace: PPJ.Runtime

Assembly: PPJ.Web.49 (4.9.0.0)

Global class containing all the system variables and constants required by the migrated SAL application.

public class Sys

Fields

Name
Type
Description

AC_Dynamic

Specify this constant with Sal.ArraySetUpperBound to change a const array to a dynamic array. Value = 2147483648

CF_Text

This constant represents the format value returned by a call to Sal.DDEExtractOptions. Value = 1

CM_TableCell

Specify this in Sal.ContextMenuSetPopup to replace the default menu that Windows displays when the mouse pointer is in an editable table window cell. Value = 1

COL_CellType_Button

COL_CellType_CheckBox

COL_CellType_Custom

COL_CellType_DateTime

COL_CellType_DropDownList

COL_CellType_Masked

COL_CellType_PopupEdit

COL_CellType_Standard

COL_CellType_Text

TableWindow cell types.

COL_CenterJustify

This table column flag indicates that you want to center text in a table window column. If this flag is set, you cannot also set the COL_CenterJustify flag at the same time. If you set neither COL_RightJustify nor COL_CenterJustify, then it left-justifies the column text by default. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 0x100

COL_CheckBox_IgnoreCase

Used on check box columns to indicate that it should ignore the case of the checked and unchecked strings.

COL_DimTitle

This table column flag indicates that a column title is show as disabled text. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 32

COL_DropDownList_Auto

COL_DropDownList_Editable

COL_DropDownList_Sorted

Column flags used to define drop down columns.

COL_DropDownList_VScroll

COL_Editable

This table column flag lets users edit the text of a table window column. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 2

COL_EnableSort

This grid column flag enables sorting in the context menu (right click on column header). Sorting is enabled when set to TRUE and disabled when set to FALSE. This also affects SalTblSortRows function (i.e. SalTblSortRows will have no effect if this flag is set to FALSE).

COL_GetID

This table column flag indicates that you want to get a column based on its identifier. Use this constant with the Sal.TblGetColumnWindow function. 1 is the first column in the application outline. Value = 0

COL_GetPos

This table column flag indicates that you want to get a column based on its position in the table window. Use this constant with the Sal.TblGetColumnWindow function. 1 is the first (left-most) column in the table window. Value = 1

COL_IndicateOverflow

This table column flag adds the overflow ellipsis (...) when the text does not fit in the cell. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 0x1000

COL_Invisible

This table column flag indicates that a column is used to edit a password. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 16

COL_LowerCase

This table column flag indicates that the cell format is lowercase. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 0x0800

COL_MultilineCell

This constant is used to define a column as a multiline column.

COL_ReadOnly

This table column flag indicates that the column cell is read only. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 0x0200

COL_RightJustify

This table column flag right-justifies text in a column. If this flag is set, you cannot also set the COL_CenterJustify flag at the same time. If you set neither COL_RightJustify nor COL_CenterJustify, then left-justifies the column text by default. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 0x80

COL_Selected

This table column flag indicates that a column is selected. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 4

COL_UpperCase

This table column flag indicates that the cell format is uppercase. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 0x0400

COL_Visible

This table column flag indicates that a column is visible. Use this constant with the Sal.TblSetColumnFlags and Sal.TblQueryColumnFlags functions. Value = 1

COLOR_3DFace

The color of the window background (sometimes called the "button face" color). The default is light gray. However, a user can change the color of the window background by selecting a different color scheme. Specify this to make the color of the window background consistent with the color scheme set by the user. Use this constant with Sal.ColorGet and Sal.ColorSet. Value = 0x70000000

COLOR_3DHighlight

The color of highlighted areas. The default is white. However, the user can change the color of highlighted areas by selecting a different color scheme. Specify this to make the color of highlighted areas consistent with the color scheme set by the user. Use this constant with Sal.ColorGet and Sal.ColorSet. Value = 0x90000000

COLOR_3DShadow

The color of shadow areas. The default is dark gray. However, a user can change the color of shadow areas by selecting a different color scheme. Specify this to make the color of shadow areas consistent with the color scheme set by the user. Use this constant with Sal.ColorGet and Sal.ColorSet. Value = 0x80000000

COLOR_Black

Black.

COLOR_Blue

Blue.

COLOR_Burgundy

Burgundy.

COLOR_Charcoal

Charcoal.

COLOR_Chartreuse

Chartreuse.

COLOR_Cyan

Cyan.

COLOR_DarkAqua

DarkAqua.

COLOR_DarkBlue

DarkBlue.

COLOR_DarkGray

DarkGray.

COLOR_DarkGreen

DarkGreen.

COLOR_DarkRed

DarkRed.

COLOR_Default

Default or empty color.

COLOR_Gray

Gray.

COLOR_Green

Green.

COLOR_IndexCell

This constant refers to the cell background color of the context row in a table window column. (You cannot set the color of the cell text in the Property window). Use this constant with the Sal.ColorGet and Sal.ColorSet functions. Value = 108

COLOR_IndexCellText

This constant refers to the cell text color of the context row in a table window column. (You cannot set the color of the cell text in the Property window). Use this constant with the Sal.ColorGet and Sal.ColorSet functions. Value = 100

COLOR_IndexWindow

This constant refers to the window's background color. Use this constant with the Sal.ColorGet, Sal.ColorGetSysColor, and Sal.ColorSet functions. Value = 5

COLOR_IndexWindowText

This constant refers to the window's text color. Use this constant with the Sal.ColorGet, Sal.ColorGetSysColor, and Sal.ColorSet functions. Value = 8

COLOR_Jade

Jade.

COLOR_LightAqua

LightAqua.

COLOR_LightGray

LightGray.

COLOR_LightGreen

LightGreen.

COLOR_LightPeriwinkle

LightPeriwinkle.

COLOR_Magenta

Magenta.

COLOR_Maize

Maize.

COLOR_Marigold

Marigold.

COLOR_MidnightBlue

MidnightBlue.

COLOR_None

This constant means that the transparent color has not been set. Sal.ColorGet can return this constant, and you can specify this constant in Sal.ColorSet. Value = 0x60000000

COLOR_Orchid

Orchid.

COLOR_Periwinkle

Periwinkle.

COLOR_Purple

Purple.

COLOR_Red

Red.

COLOR_RoyalBlue

RoyalBlue.

COLOR_Salmon

Salmon.

COLOR_Sky

Sky.

COLOR_SysWindow

This constant refers to the window's background color. Use this constant with the Sal.ColorGetSysColor function. Value = 0x10000000

COLOR_SysWindowFrame

This constant refers to the color of the window's frame. Use this constant with the Sal.ColorGetSysColor function. Value = 0x50000000

COLOR_SysWindowText

This constant refers to the color of the window's text. Use this constant with the Sal.ColorGetSysColor function. Value = 0x20000000

COLOR_Teal

Teal.

COLOR_White

White.

COLOR_Yellow

Yellow.

CREATE_AsChild

CREATE_Border

CREATE_Hidden

Flags passed to Sal.CreateWindowEx

CURSOR_Arrow

The standard arrow cursor. Use this constant with the Sal.CursorSet function.

CURSOR_Cross

A crosshair cursor. Use this constant with the Sal.CursorSet function.

CURSOR_DisableDrop

The cursor that displays when in drag mode and drop is disabled. Use this constant with the Sal.CursorSet and Sal.CursorSetFile functions. Value = 3

CURSOR_DragDrop

The cursor that displays when in drag mode and drop is enabled. Use this constant with the Sal.CursorSet and Sal.CursorSetFile functions. Value = 2

CURSOR_IBeam

A text (I-beam) cursor. Use this constant with the Sal.CursorSet function.

CURSOR_Icon

An empty icon. Use this constant with the Sal.CursorSet function.

CURSOR_Size

A cursor that looks like a square with a smaller square in its lower right corner. Use this constant with the Sal.CursorSet function.

CURSOR_SizeNESW

A double-pointed cursor with arrows pointing northeast and southwest. Use this constant with the Sal.CursorSet function.

CURSOR_SizeNS

A double-pointed cursor with arrows pointing north and south. Use this constant with the Sal.CursorSet function.

CURSOR_SizeNWSE

A double-pointed cursor with arrows pointing northwest and southeast. Use this constant with the Sal.CursorSet function.

CURSOR_SizeWE

A double-pointed cursor with arrows pointing west and east. Use this constant with the Sal.CursorSet function.

CURSOR_UpArrow

A vertical arrow cursor. Use this constant with the Sal.CursorSet function.

CURSOR_Wait

An hourglass cursor. Use this constant with the Sal.CursorSet function.

CURSOR_Window

The cursor that displays when positioned over a window and drag mode is not enabled. Use this constant with the Sal.CursorSet and Sal.CursorSetFile functions. Value = 1

DATETIME_Null

Use this constant to set a Date/Time to a null value or to check if a Date/Time value is null.

DBP_AUTOCOMMIT

Use this constant to either get or set the value of a database parameter indicating the current autocommit status of the database. If autocommit is on (TRUE), the database commits changes automatically after each SQL command. If autocommit is off (FALSE), then the database commits changes only when you issue a COMMIT command. Use this constant with the Sql.GetParameter, and Sql.SetParameter functions. You can only use DBP_AUTOCOMMIT with databases which support this feature. Please refer to the appropriate database manuals for more information. Value = 1

DBP_BRAND

Use this constant to obtain the brand of the database engine. Brand is represented by the numeric value of one of these constants: DBV_BRAND_ALLBASE 10 DBV_BRAND_AS400 7 DBV_BRAND_CINCOMSUPRA 20 DBV_BRAND_DB2 2 DBV_BRAND_INFORMIX 5 DBV_BRAND_INFORMIXONLINE 24 DBV_BRAND_NETWARE 6 DBV_BRAND_ORACLE 4 DBV_BRAND_ORACLE7 28 DBV_BRAND_OS2EE 3 DBV_BRAND_SQL 1 DBV_BRAND_SYBASE 8 Use this constant with the Sql.GetParameter. Value = 2

DBP_FETCHTHROUGH

Use this constant to either get or set the status of a database parameter indicating the current status of the FETCHTHROUGH feature. FETCHTHROUGH enables you to retrieve rows directly from the database server instead of from the client's input message buffer, thereby ensuring that you get the most up-to-date data. If FETCHTHROUGH is on (TRUE), the application fetches data one row at a time from the backend. Using this feature increases response time, so you should only use this feature when you need to get the most up-to-date information. If FETCHTHROUGH is off (FALSE), the application fetches data from the client's input message buffer whenever possible. This is the default. Use this constant with the Sql.GetParameter, and Sql.SetParameter, functions. You can only use this feature against SQLBase. Value = 7

DBP_ISOLEVEL

Isolation level: RR,RL,CS,RO,SE

DBP_LOCKWAITTIMEOUT

Use this constant to either get or set the value of a database parameter which specifies the number of seconds an application should wait for a database lock to be acquired before timing out. After the specified time has elapsed, SQLBase rolls back the transaction. The default timeout value is 300 seconds. Valid time out values are: 1-1800 Wait 1 second to 30 minutes -1 Wait forever 0 Never wait; immediately return a time out error. Use this constant with the Sql.GetParameter and Sql.SetParameter functions. You can only use this constant against databases which support the setting of lock wait timeout values. Please refer to the appropriate database manuals for more information. Value = 5

DBP_NOPREBUILD

Use this constant to either get or set the value of a database parameter which specifies whether result sets should be pre-built on remote databases when the application is in result set mode and is using the Release Locks isolation level. Pre-building a result set provides the advantages of being able to release shared locks and returning control to the client. The disadvantage of pre-building a result set is that the application must wait while the result set is being built. If NOPREBUILD is on (TRUE), result sets are not pre-built. A shared lock remains on the current page. This is the default setting. If NOPREBUILD is off (FALSE), result sets are pre-built on the remote database. Use this constant with the Sql.GetParameter and Sql.SetParameter functions. You can only use this feature against SQLBase. Value = 8

DBP_PRESERVE

Use this constant to get or set the value of the database parameter that specifies whether cursor context preservation is on or off. If cursor-context preservation is on (TRUE), a COMMIT does not destroy an active result set (cursor context). This enables an application to maintain its position after a COMMIT, INSERT, or UPDATE. The cursor context is not preserved after an isolation level change. The context is preserved after a ROLLBACK if both of the following are true: The application is in the Release Locks (RL) isolation level. A DDL operation was not performed. If cursor-context preservation is off (FALSE), a COMMIT does destroy an active result set. Cursor context preservation is lost. Use this constant with the Sql.GetParameter, and Sql.SetParameter functions. Value = 3

DBP_ROLLBACKONTIMEOUT

Use this constant to either get or set the value of a database parameter which specifies the rollback status when a lock timeout occurs. If the parameter is TRUE, the entire transaction rolls back when a lock timeout occurs. If it is FALSE, only the current command rolls back on a lock timeout. Use this constant with the Sql.GetParameter, and Sql.SetParameter. The rollbackontimeout feature can only be used against some databases. Please see the appropriate database manuals for more information. Value = 6

DBP_VERSION

Use this constant to get the version number of the server software. Use this constant with the Sql.GetParameter function. Value = 4

DBV_BRAND_ALLBASE

DBV_BRAND_ALLBASE means that the application is accessing an ALLBASE database. Value = 10

DBV_BRAND_APPLEDAL

DBV_BRAND_APPLEDAL means that the application is using an Apple DAL Interface. Value = 22

DBV_BRAND_AS400

DBV_BRAND_AS400 means that the application is accessing an AS/400 database. Value = 7

DBV_BRAND_CCAMODEL20

DBV_BRAND_CCAMODEL20 means that the application is accessing a CCA Model 204 database. Value = 21

DBV_BRAND_CINCOMSUPRA

DBV_BRAND_CINCOMSUPRA means that the application is accessing a Cincom Supra database. Value = 20

DBV_BRAND_DB2

DBV_BRAND_DB2 means that the application is accessing a DB2 database. Value = 2

DBV_BRAND_DBASE

DBV_BRAND_DBASE means that the application is accessing a DBASE database. Value = 17

DBV_BRAND_EDASQL

DBV_BRAND_EDASQL means that the application is accessing a Sybase database. Value = 25

DBV_BRAND_IMBSQLDS

DBV_BRAND_IMBSQLDS means that the application is accessing a IBM SQL/DS database. Value = 13

DBV_BRAND_INFORMIX

DBV_BRAND_INFORMIX means that the application is accessing an Informix database. Value = 5

DBV_BRAND_INFORMIXONLINE

DBV_BRAND_INFORMIXONLINE means that the application is accessing an Informix Online database. Value = 24

DBV_BRAND_INGRES

DBV_BRAND_INGRES means that the application is accessing a INGRES database. Value = 15

DBV_BRAND_INGRESSOPENSQL

DBV_BRAND_INGRESSOPENSQL means that the application is accessing a Ingres OpenSQL database. Value = 29

DBV_BRAND_INGRESSOPENSQLD

DBV_BRAND_INGRESSOPENSQLD means that the application is accessing a Ingres OpenSQL database with date support. Value = 30

DBV_BRAND_MSSQL

DBV_BRAND_NOCOMMIMER means that the application is accessing a Nocom Mimer database. Value = 102

DBV_BRAND_NETWARE

DBV_BRAND_NETWARE means that the application is accessing a Novell NetWare database. Value = 6

DBV_BRAND_NETWARESQL

DBV_BRAND_NOCOMMIMER

DBV_BRAND_NOCOMMIMER means that the application is accessing a Nocom Mimer database. Value = 27

DBV_BRAND_NONSTOPSQL

This constant is returned by Sql.GetParameter when you specify DBP_BRAND means that the application is accessing a Tandem Nonstop SQL database. Value = 12

DBV_BRAND_ODBC

DBV_BRAND_ODBC means that the application is accessing a database using an ODBC Router. Value = 31

DBV_BRAND_ORACLE

DBV_BRAND_ORACLE means that the application is accessing an Oracle database. Value = 4

DBV_BRAND_ORACLE7

DBV_BRAND_ORACLE7 means that the application is accessing an Oracle v. 7 database. Value = 28

DBV_BRAND_ORACLE8

DBV_BRAND_ORACLE8 means that the application is accessing an Oracle v. 8 database.

DBV_BRAND_OS2EE

DBV_BRAND_OS2EE means that the application is accessing an IBM Database Manager database. Value = 3

DBV_BRAND_RDB

This constant is returned by Sql.GetParameter when you specify DBP_BRAND CST_DBV_BRAND_RDB means that the application is accessing a DEC RDB database. Value = 11

DBV_BRAND_RDBII

DBV_BRAND_RDBII means that the application is accessing a Fujitsu RDBII database. Value = 19

DBV_BRAND_SHAREBASE

DBV_BRAND_SHAREBASE means that the application is accessing a Teradata Sharebase database. Value = 23

DBV_BRAND_SNIDDB4

DBV_BRAND_SNIDDB4 means that the application is accessing a SNI DDB4 database. Value = 18

DBV_BRAND_SNISESAM

DBV_BRAND_SNISESAM means that the application is accessing a SNI SESAM database. Value = 14

DBV_BRAND_SNIUDS

DBV_BRAND_SNIUDS means that the application is accessing a SNI UDS database. Value = 26

DBV_BRAND_SQL

DBV_BRAND_SQL means that the application is accessing a SQLBase database. Value = 1

DBV_BRAND_SQLACCESS

DBV_BRAND_SQLACCESS means that the application is accessing a SQL Access database. Value = 16

DBV_BRAND_SQLHOSTAPP

DBV_BRAND_SQLHOSTAPP means that the application using SQLHOST App Services. Value = 99

DBV_BRAND_SYBASE

DBV_BRAND_SYBASE means that the application is accessing a Sybase database. Value = 8

DBV_BRAND_SYSTEM10

Sql.GetParameter returns this constant when you specify DBP_BRAND and are accessing a Sybase System 10 database. Value = 32

DBV_BRAND_TERADATA

DBV_BRAND_TERADATA means that the application is accessing a Teradata dbc database. Value = 9

DDE_fAck

DDE status bits

DDE_fBusy

DDE_fNoData

DDE_fRelease

DDE_fResponse

DOCK_Any

DOCK_Bottom

DOCK_Left

DOCK_None

Dockable dialogs constants

DOCK_Right

DOCK_Top

DRIVE_CDROM

DRIVE_Fixed

DRIVE_Floppy

DRIVE_* constants

DRIVE_Network

DRIVE_RAM

DT_Boolean

This constant is returned by the Sal.GetDataType function. It indicates that the field or table window column is of type Boolean. Value = 1

DT_DateTime

This constant is returned by the Sal.GetDataType function. It indicates that the field or table window column is of type Date/Time. Value = 2

DT_LongString

This constant is returned by the Sal.GetDataType function. It indicates that the field or table window column is of type Long String. Value = 7

DT_Number

This constant is returned by the Sal.GetDataType function. It indicates that the field or table window column is of type Number. Value = 3

DT_String

This constant is returned by the Sal.GetDataType function. It indicates that the field or table window column is of type String. Value = 5

DW_Default

This constant is returned by the Sal.GetMaxDataLength function when a data field, multiline text field, or table window column is declared with a length of "Default". Value = -1

EVAL_Date

This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to Date/Time. Value = 3

EVAL_Handle

This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to Window Handle. Value = 4

EVAL_If

This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to an If statement. Value = 100

EVAL_Number

This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to Number. Value = 1

EVAL_Object

One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Archive specifies that should retrieve only archived files. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 32

EVAL_Set

This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to a SET expression. Value = 99

EVAL_String

This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to String. Value = 2

EVAL_Template

This constant is returned by the Sal.CompileAndEvaluate function when the data type of an expression evaluates to Template. Value = 5

EVENT_ERROR

Event constants used by Sal.Trace

EVENT_INFORMATION

EVENT_WARNING

FA_Archive

This constant is returned by the SAl.CompileAndEvaluate function when the data type of an expression evaluates to an object. Value = 7

FA_Directory

One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Directory specifies that should retrieve only sub-directories within the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 16

FA_Drive

One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Drive specifies that should retrieve a list of drives to which the machine is currently connected. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 0x4000

FA_Exclusive

One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Exclusive specifies that should retrieve only files of the specified type. If you do not specify FA_Exclusive, files of the specified type and FA_Standard files are listed with normal files. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 0x8000

FA_Hidden

One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Hidden specifies that should retrieve all hidden files in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 2

FA_Queued

One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Queued specifies that should retrieve queued files (such as those to be printed) in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 0x2000

FA_ReadOnly

One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_ReadOnly specifies that should retrieve only read-only files in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 1

FA_Standard

One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_Standard specifies that should retrieve all read/write files in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 0

FA_System

One of the File Access constants used by the Sal.ListFiles function to define the type of files to retrieve and place in a list box. FA_System specifies that should retrieve all system files in the specified directory. This constant can be OR'd together with any of the other File Access (FA_*) constants to retrieve a variety of file types at the same time. Value = 4

FETCH_Delete

This constant is returned to one of the SqlFetch* functions to indicate a failure in fetching the requested row. Could not fetch the row because it had been deleted from the query set since it was last fetched. Use this constant with the Sql.FetchNext, Sql.FetchPrevious, and Sql.FetchRow functions. Value = 3

FETCH_EOF

This constant is returned to one of the SqlFetch* functions to indicate a failure in fetching the requested row. Could not fetch the row because it reached the end of the query set. Use this constant with the Sql.FetchNext, Sql.FetchPrevious, and Sql.FetchRow functions. Value = 1

FETCH_Ok

This constant is returned to one of the SqlFetch* functions to indicate that the requested row was successfully fetched from the query set. Use this constant with the Sql.FetchNext, Sql.FetchPrevious, and Sql.FetchRow functions. Value = 0

FETCH_Update

This constant is returned to one of the SqlFetch* functions to indicate a failure in fetching the requested row. Could not fetch the row because it had been updated since it was last fetched. Use this constant with the Sql.FetchNext, Sql.FetchPrevious, and Sql.FetchRow functions. Value = 2

FILE_CopyDest

This constant is returned when the Sal.FileCopy function fails because it can not open the destination file. Value = 2

FILE_CopyExist

This constant is returned when the Sal.FileCopy function fails because the destination file already exists and the bOverWrite parameter is FALSE. Value = 3

FILE_CopyOK

This constant is returned when the Sal.FileCopy function successfully copies the contents of the source file to the destination file. Value = 0

FILE_CopyRead

This constant is returned when the Sal.FileCopy function fails while reading the source file. Value = 4

FILE_CopySrc

This constant is returned when the Sal.FileCopy function fails because the source file can not be opened. Value = 1

FILE_CopyWrite

This constant is returned when the Sal.FileCopy function fails while writing to the destination file. Value = 5

FILE_SeekBegin

Use this constant with the Sal.FileSeek function to position the file pointer at the beginning of a file. Value = 0

FILE_SeekCurrent

Use this constant with the Sal.FileSeek function to position the file pointer at its current location in the file. Value = 1

FILE_SeekEnd

Use this constant with the Sal.FileSeek function to position the file pointer at the end of the file. Value = 2

FMT_Date_JapanEmperor

This constant is one of four possible integer format parameter values for a field. When the constant specifying which integer format parameter to get or set is FMT_Parm_iDateType, the integer format parameter value of a field can be FMT_Date_JapanEmperor. To use the JapanEmperor format, add a [GTITOOLS] section to WIN.INI, and set sDateType to JapanEmperor. In addition, set the sCountry parameter in the [INTL] section of WIN.INI to "Japan". Value = 3

FMT_Date_JapanGregorian

This constant is one of four possible integer format parameter values for a field. When the constant specifying which integer format parameter to get or set is FMT_Parm_iDateType, the integer format parameter value of a field can be FMT_Date_JapanGregorian. To use the JapanGregorian format, add a [GTITOOLS] section to WIN.INI, and set sDateType to JapanGregorian. In addition, set the sCountry parameter in the [INTL] section of WIN.INI to "Japan". Value = 2

FMT_Date_LongGregorian

This constant is one of four possible integer format parameter values for a field. When the constant specifying which integer format parameter to get or set is FMT_Parm_iDateType, the integer format parameter value of a field can be FMT_Date_LongGregorian. To use the LongGregorian format, add a [GTITOOLS] section to WIN.INI, and set sDateType to LongGregorian. This defaults to the format set by FMT_Parm_sLongDate. Value = 0

FMT_Date_ShortGregorian

This constant is one of four possible integer format parameter values for a field. When the constant specifying which integer format parameter to get or set is FMT_Parm_iDateType, the integer format parameter value of a field can be FMT_Date_ShortGregorian. To use the ShortGregorian format, add a [GTITOOLS] section to WIN.INI, and set sDateType to ShortGregorian. This defaults to the format set by FMT_Parm_sShortDate. Value = 1

FMT_Format_Currency

This constant is used to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a number field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to currency, and it is used by the function Sal.FmtSetFormat to set a field or column's format to currency. Value = 1

FMT_Format_Date

Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a date field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to date, and it is used by the function Sal.FmtSetFormat to set a field or column's format to date. Value = 2

FMT_Format_DateTime

Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a date/time field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to date/time, and it is used by the function Sal.FmtSetFormat to set a field or column's format to date/time. Value = 3

FMT_Format_Decimal

Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a number field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to decimal, and it is used by the function Sal.FmtSetFormat to set a field or column's format to decimal. Value = 4

FMT_Format_Invisible

Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a string field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to invisible, and it is used by the function Sal.FmtSetFormat to set a field or column's format to invisible. Value = 5

FMT_Format_LowerCase

Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a string field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to lowercase, and it is used by the function Sal.FmtSetFormat to set a field or column's format to lowercase. Value = 8

FMT_Format_Percentage

Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a number field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to percentage, and it is used by the function Sal.FmtSetFormat to set a field or column's format to percentage. Value = 6

FMT_Format_Picture

Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a field or column of number or date/time data type. This constant is returned by the function Sal.FmtGetFormat when a field or column has been picture-formatted, and it is used by the function Sal.FmtSetFormat to set a field or column to be picture-formatted. Value = -1

FMT_Format_Time

Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a time field. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to time, and it is used by the function Sal.FmtSetFormat to set a field or column's format to time. Value = 7

FMT_Format_Unformatted

Use this constant to get or set the format of a data field or table window column of any data type. This constant is returned by the function Sal.FmtGetFormat when the format of a field or column is set to unformatted, and it is used by the function Sal.FmtSetFormat to set a field or column's format to unformatted. Value = 0

FMT_Format_UpperCase

Use this constant to get or set the format of a data field or table window column. The format of a field or column must agree with its data type, so this constant can only be returned by or applied to a string field. This constant is returned by the function Sal.FmtGetFormat when the format of the field or column is set to uppercase, and it is used by the function Sal.FmtSetFormat to set a field or column's format to uppercase. Value = 9

FMT_Parm_iCurrDigits

Use this constant to obtain and define a field's profile-driven format. It represents the number of digits in the fractional part of a currency amount. Value = 17

FMT_Parm_iCurrency

Use this constant to obtain and define a field's profile-driven format. When you specify FMT_Parm_iCurrency, the integer format parameter value of a field can be one of the following: FMT_Prefix_NoSeparation FMT_Suffix_NoSeparation FMT_Prefix_Separation FMT_Suffix_Separation Value = 1

FMT_Parm_iDateType

Use this constant to obtain and define a field's profile-driven format. When you specify FMT_Parm_iDateType, the integer format parameter value of a field can be one of the following: FMT_Date_LongGregorian FMT_Date_ShortGregorian FMT_Date_JapanGregorian FMT_Date_JapanEmperor Value = 13

FMT_Parm_iDigits

Use this constant to obtain and define a field's profile-driven format. It represents the number of significant digits to the right of a number's decimal point. When you specify FMT_Parm_iDigits, the integer format parameter value of a field is the number of digits. Value = 3

FMT_Parm_iLzero

Use this constant to obtain and define a field's profile-driven format. It indicates whether or not to use a leading zero with decimal values less than 1.0 and greater than -1.0. When you specify FMT_Parm_iLzero, the integer format parameter value of a field can be one of the following: 0 indicates no leading zero (.7) 1 indicates a leading zero (0.7) Value = 4

FMT_Parm_iNegCurr

Use this constant to obtain and define a field's profile-driven format. It represents the negative currency format. When you specify FMT_Parm_iNegCurr, the integer format parameter value of a field can be one of the following: 0 for ($1) 1 for -$1 2 for $-1 3 for $1- 4 for (1$) 5 for -1$ 6 for 1-$ 7 for 1$- Value = 18

FMT_Parm_iTime

Use this constant to obtain and define a field's profile-driven format. It represents the time format. When you specify FMT_Parm_iTime, the integer format parameter value of a field can be one of the following: FMT_Time_12Hour FMT_Time_24Hour Value = 5

FMT_Parm_iTLZero

Use this constant to obtain and define a field's profile driven format. It indicates whether or not hours have a leading zero. When you specify FMT_Parm_iTLZero, the integer format parameter value of a field can be 0, meaning that there is no leading zero. Value = 16

FMT_Parm_s1159

Use this constant to obtain and define a field's profile-driven format. It represents the trailing string for times between 0:00 and 11:59 A.M. When you specify FMT_Parm_s1159, the string format parameter value can have a length of up to 3 characters. Value = 6

FMT_Parm_s2359

Use this constant to obtain and define a field's profile-driven format. It represents the trailing string for times between 12:00 and 23:59 P.M. When you specify FMT_Parm_s2359, the string format parameter value can have a length of up to 3 characters. Value = 7

FMT_Parm_sCurrency

Use this constant to obtain and define a field's profile-driven format. It represents the currency symbol for a given country. When you specify FMT_Parm_sCurrency, the string format parameter value can have a length of up to 40 characters. Value = 8

FMT_Parm_sDecimal

Use this constant to obtain and define a field's profile-driven format. It represents the symbol that separates the integer and fractional parts of a number. Value = 10

FMT_Parm_sLongDate

Use this constant to obtain and define a field's profile-driven format. It represents a long date picture format such as d MMM, yyyy. Value = 15

FMT_Parm_sShortDate

Use this constant to obtain and define a field's profile-driven format. It represents a short date picture format such as M/d/yy. Value = 14

FMT_Parm_sThousand

Use this constant to obtain and define a field's profile-driven format. It represents the thousands separator character. Value = 11

FMT_Parm_sTime

Use this constant to obtain and define a field's profile-driven format. It represents the time separator character. For instance, (:) is the separator in (9:25). Value = 12

FMT_Pic_DateTime

This constant specifies that the picture format to validate is a date/time picture format. Use FMT_Pic_DateTime with the Sal.FmtIsValidPicture function. Value = 1 Valid date/time picture format values: Value Item Appearance M month 1-12 MM month 01-12 MMM month Jan-Dec MMMM month January-December d day 1-31 dd day 01-31 ddd day Mon-Sun dddd day Monday-Sunday yy year 00-99 yyyy year 0000-9999 hh hour 1-12 hhhh hour 0-24 mm minutes 0-59 ss seconds 0-59 mmmmmm microseconds 000000-999999 AMPM AM/PM The AM/PM indicator

FMT_Pic_Number

This constant specifies that the picture format to validate is a number picture format. Use FMT_Pic_Number with the Sal.FmtIsValidPicture function. Value = 2 Valid number formats are: # Specifies the number of optional digits on both sides of the decimal point. 0 Specifies the number of decimal places to the right of the decimal point, and the minimum digits to the left of the decimal point. . Indicates the position of the decimal point. , Specifies the thousands separator when nested between 0's or #'s. ; Specifies that there are two picture formats. The picture format to the left of the (;) is used to format positive values, and the picture format to the right of the (;) is used to format negative values. % Specifies percentage format. E+ e+ E- e- Specifies scientific notation format. By specifying a (-), only negative numbers are displayed with a sign.

FMT_Prefix_NoSeparation

This constant is one of four possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_Parm_iCurrency. It defines the way in which formats a currency value. If you specify this constant, a number (for example: 1) to be formatted as currency appears as: $1. Value = 0

FMT_Prefix_Separation

This constant is one of four possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_Parm_iCurrency. It defines the way in which formats a currency value. If you specify this constant, a number (for example: 1) to be formatted as currency appears as: $ 1. Value = 2

FMT_Profile_Australia

FMT_Profile_Belgium

FMT_Profile_Brazil

FMT_Profile_Default

This constant represents the system default profile maintained in the WIN.INI file. The settings associated with the system default profile determine a field's format. Value = 0

FMT_Profile_Denmark

FMT_Profile_Finland

FMT_Profile_France

FMT_Profile_Germany

FMT_Profile_Italy

FMT_Profile_Japan

FMT_Profile_Netherlands

FMT_Profile_Norway

FMT_Profile_Program

This constant represents a special profile whose settings determine a field's format. It allows an application to individually specify each field's format. Value = -1

FMT_Profile_Spain

FMT_Profile_Sweden

FMT_Profile_Switzerland

FMT_Profile_UnitedKingdom

FMT_Profile_USA

FMT_Suffix_NoSeparation

This constant is one of four possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_iCurrency. It defines the way in which formats a currency value. If you specify this constant, a number (for example: 1) to be formatted as currency appears as: 1$. Value = 1

FMT_Suffix_Separation

This constant is one of four possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_iCurrency. It defines the way in which formats a currency value. If you specify this constant, a number (for example: 1) to be formatted as currency appears as: 1 $. Value = 3

FMT_Time_12Hour

This constant is one of two possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_Parm_iTime. It defines a time value to display in the format of a 12 hour clock. Value = 0

FMT_Time_24Hour

This constant is one of two possible integer format parameter values for a field whose integer format parameter is specified by the constant FMT_Parm_iTime. It defines a time value to display in the format of a 24 hour clock. Value = 1

FMT_Validate_Dialog

This constant directs to display a dialog box if a format error occurs during a call to Sal.FmtValidateField. Value = 1

FMT_Validate_None

This constant directs not to display a dialog box if a format error occurs during a call to Sal.FmtValidateField. Instead, the application handles the error. Value = 0

FONT_EnhBold

This is a font enhancement constant which instructs to bold the specified window's text. You can combine FONT_EnhBold with other font enhancement constants using the OR (|) operator. Use this constant with the Sal.FontGet and Sal.FontSet functions. Value = 8

FONT_EnhDefault

This is a font enhancement constant which indicates that the specified window's text should conform to the current default settings. You can combine FONT_EnhDefault with other font enhancement constants using the OR (|) operator. Use this constant with the Sal.FontGet and Sal.FontSet functions. Value = 1

FONT_EnhItalic

This is a font enhancement constant which instructs to italicize the specified window's text. You can combine FONT_EnhItalic with other font enhancement constants using the OR (|) operator. Use this constant with the Sal.FontGet and Sal.FontSet functions. Value = 2

FONT_EnhNormal

This is a font enhancement constant which indicates that there are no enhancements to add to the text in the specified window. Use this constant with the Sal.FontGet and Sal.FontSet functions. Value = 0

FONT_EnhStrikeOut

This is a font enhancement constant which instructs to strike out the specified window's text. You can combine FONT_EnhStrikeOut with other font enhancement constants using the OR (|) operator. Use this constant with the Sal.FontGet and Sal.FontSet functions. Value = 16

FONT_EnhUnderline

This is a font enhancement constant which instructs to underline the specified window's text. You can combine FONT_EnhUnderline with other font enhancement constants using the OR (|) operator. Use this constant with the Sal.FontGet and Sal.FontSet functions. Value = 4

FONT_GetPrinter

Use this constant to obtain either a list of available printer fonts or a list of available printer font sizes for a given font. Use this constant with the Sal.FontGetNames and Sal.FontGetSizes functions. Value = 2

FONT_GetScreen

Use this constant to obtain either a list of available screen font names or a list of available screen font sizes. Use this constant with the Sal.FontGetNames and Sal.FontGetSizes functions. Value = 1

FORM_nFormHeight

This constant represents the integer form parameter for the height of a given form window. It is used by the function Sal.FormGetParmNum. Value = 2

FORM_nFormPages

This constant represents the integer form parameter for the number of pages in a given form window. It is used by the function Sal.FormGetParmNum. Value = 3

FORM_nFormWidth

This constant represents the integer form parameter for the width of a given form window. It is used by the function Sal.FormGetParmNum. Value = 1

HELP_Context

The Sal.WinHelp function uses this constant to display context sensitive help on the topic associated with the context identifier number in the nData parameter. Value = 1

HELP_Finder

The Sal.WinHelp function uses this constant to bring up the help Find Dialog. Value = 0x000B

HELP_HelpOnHelp

The Sal.WinHelp function uses this constant to display information on the Windows Help System itself. Value = 4

HELP_Index

The Sal.WinHelp function uses this constant to display the index of available Help topics. Value = 3

HELP_Key

The Sal.WinHelp function uses this constant to display a list of available Help topics for the keywords specified in the parameter sData. Value = 0x101

HELP_Quit

The Sal.WinHelp function uses this constant to quit the Windows Help System that is currently open and in use. Value = 2

HELP_SetIndex

The Sal.WinHelp function uses this constant to set the current index for a multi-index help system. Value = 5

hWndFocus

Window handle of the currently focused control.

hWndForm

Window handle of the current form or dialog.

hWndItem

Window handle of the current control.

hWndMDI

Window handle of the current MDI.

hWndNULL

Use this to detect if a function that returns a window handle succeeded.

IDABORT

This constant is returned by the Sal.MessageBox function when you click on the Abort push button in an Abort/Retry/Ignore message box (MB_AbortRetryIgnore). Value = 3

IDCANCEL

This constant is returned by the Sal.MessageBox function when you click on the Cancel push button in an OK/Cancel message box (MB_OkCancel), a Retry/Cancel message box (MB_RetryCancel) or a Yes/No/Cancel message box (MB_YesNoCancel). Value = 2

IDIGNORE

This constant is returned by the Sal.MessageBox function when you click on the Ignore push button of an Abort/Retry/Ignore message box (MB_AbortRetryIgnore). Value = 5

IDNO

This constant is returned by the Sal.MessageBox function when you click on the No push button of a Yes/No message box (MB_YesNo) or a Yes/No/Cancel message box (MB_YesNoCancel). Value = 7

IDOK

This constant is returned by the Sal.MessageBox function when you click on the Ok push button of an Ok message box (MB_Ok) or an Ok/Cancel message box (MB_OkCancel). Value = 1

IDRETRY

This constant is returned by the Sal.MessageBox function when you click on the Retry push button of a Retry/Cancel message box (MB_RetryCancel) or an Abort/Retry/Ignore message box (MB_AbortRetryIgnore). Value = 4

IDYES

This constant is returned by the Sal.MessageBox function when you click on the Yes push button of a Yes/No message box (MB_YesNo) or a Yes/No/Cancel message box (MB_YesNoCancel). Value = 6

LB_Err

This constant is returned by a Sal.List* function call when a user error occurs. It is used by the functions: Sal.ListAdd, Sal.ListDelete, Sal.ListInsert, Sal.ListQueryCount, Sal.ListQueryMultiCount, Sal.ListQuerySelection, Sal.ListQueryText, Sal.ListQueryTextLength, Sal.ListSelectString. Value = -1

LB_ErrSpace

This constant is returned when insufficient memory is available to store a new string in a list box. Use this constant with the Sal.ListAdd and Sal.ListInsert functions. Value = -2

LB_Ok

LB_Ok is returned by a Sal.List* function that completes successfully. Value = 0

lParam

The lParam value used in the last message.

MAX_DefaultDataField

This constant represents the default length of a data field (100 characters). Value = 100

MAX_DefaultMultiline

This constant represents the default length of a multiline text field (1000 characters). Value = 1000

MB_AbortRetryIgnore

This is a Push Button style constant used by the Sal.MessageBox function to define the type of push buttons to display in the message box. Specifying MB_AbortRetryIgnore causes the message box to display three push buttons: Abort, Retry, and Ignore. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 2

MB_ApplModal

This is a System style constant used by the Sal.MessageBox function to display a dialog box that suspends the application's windows until you respond appropriately. You can combine a System style constant with a constant from the Icon style, Response Button Handling style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 0

MB_DefButton1

This is a Response Button Handling style constant used by the Sal.MessageBox function to specify that the first button (usually Ok) has the focus when the dialog box displays. You can combine a Response Button Handling style constant with a constant from the Icon style, System Options style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 0

MB_DefButton2

This is a Response Button Handling style constant used by the Sal.MessageBox function to specify that the second button has the focus when the dialog box displays. You can combine a Response Button Handling style constant with a constant from the Icon style, System Options style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 0x100

MB_DefButton3

This is a Response Button Handling style constant used by the Sal.MessageBox function to specify that the third button has the focus when the dialog box displays. You can combine a Response Button Handling style constant with a constant from the Icon style, System Options style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 0x200

MB_IconAsterisk

This is an icon style constant used by the Sal.MessageBox function to display an "i" (for information) icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 64

MB_IconExclamation

This is an icon style constant used by the Sal.MessageBox function to display an exclamation point icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 48

MB_IconHand

Supports MB_IconHand for backward compatibility; use MB_IconStop instead.

MB_IconInformation

This is an icon style constant used by the Sal.MessageBox function to display an "i" (for information) icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 64

MB_IconQuestion

This is an icon style constant used by the Sal.MessageBox function to display a question mark icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 32

MB_IconStop

This is an icon style constant used by the Sal.MessageBox function to display a stop sign icon in the message box. You can combine an icon style constant with a constant from the push button style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 16

MB_NoFocus

The underlying Windows feature for this style is no longer supported by Microsoft. This style does nothing and is provided for backward compatibility only. Value = 0x8000

MB_Ok

This is a push button style constant used by the Sal.MessageBox function to display an Ok push button in the message box. This is the default assignment. You can combine a push button style constant with a constant from the icon style, default button style, and modal style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 0

MB_OkCancel

This is a Push Button style constant used by the Sal.MessageBox function to specify that both an Ok and a Cancel push button display in the message box. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. See Sal.MessageBox Options and Sal.MessageBox Returns for more information. Value = 1

MB_RetryCancel

This is a Push Button style constant used by the Sal.MessageBox function to specify that both a Retry and a Cancel push button display in the message box. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 5

MB_SystemModal

This is a System style constant used by the Sal.MessageBox function to display a dialog box that suspends ALL application windows until you respond appropriately. You can combine a System style constant with a constant from the Icon style, Response Button Handling style, and Push Button style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 0x1000

MB_YesNo

This is a Push Button style constant used by the Sal.MessageBox function to specify that both a Yes and a No push button display in the message box. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 4

MB_YesNoCancel

This is a Push Button style constant used by the Sal.MessageBox function to define the type of push buttons to display in the message box. Specifying MB_YesNoCancel causes the message box to display three push buttons: Yes, No, and Cancel. You can combine a Push Button style constant with a constant from the Icon style, Response Button Handling style, and System style constant groups (all of which are also named MB_*) using the OR (|) operator. Value = 3

NUMBER_Null

Use this constant to set a Number to a null value or to check if a Number value is a null. Value = null (the same as \0 in C programming)

OF_Append

This constant instructs to open a file for appending. The file pointer is positioned at the end of the file. You can combine File Open style constants using the bitwise OR (|) operator. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 3

OF_Binary

This constant instructs to open a file in binary mode. Default translations of carriage return/line feed combinations are suppressed. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0x10000

OF_Create

This constant instructs to create a new file. If one already exists, it is truncated to zero length. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0x1000

OF_Delete

This constant instructs to delete a file. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0x200

OF_Exist

This constant instructs to open and then close a file. Use it to test if a file exists. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0x4000

OF_Parse

This constant prepares to open a file by parsing the file specifications, but carries out no action. Use it if you need to verify a file specification without actually opening the file. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0x100

OF_Read

This constant instructs to open a file for reading only. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0

OF_ReadAppend

This constant instructs to open a file for reading and appending of new data. The file pointer is positioned at the end of the file so that you can read/write the opened file. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 4

OF_ReadWrite

This constant instructs to open a file for reading and writing. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 2

OF_Reopen

Use this constant only with the Sal.FileOpenExt function to instruct to open a file using the name specified in a previous Sal.FileOpen call. You must have previously opened the file with a legitimate file name and used the same file handle. When first opens the file, it stores the full path name internally. The purpose of the OF_Reopen constant is to guarantee that subsequent opens of the file use this fully qualified name, regardless of whether directories and drives have changed since the original Sal.FileOpen. Value = 0x8000

OF_Share_Compat

This constant instructs to open a file in compatibility mode. This lets any computer open a file any number of times. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0

OF_Share_Deny_None

This constant instructs to open a file without denying other applications read and write access to it. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 64

OF_Share_Deny_Read

This constant instructs to open a file and deny other applications read access to it. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 48

OF_Share_Deny_Write

This constant instructs to open a file, denying other applications write access to it. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 32

OF_Share_Exclusive

This constant instructs to open a file, denying other applications read and write access to it. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 16

OF_Text

This constant instructs to open a file in text mode. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 0

OF_Unicode

This constant instructs to open a file in unicode mode. Default translations of carriage return/line feed combinations are suppressed. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.

OF_UTF16

This constant instructs to open a file in UTF16 mode.

OF_UTF7

This constant instructs to open a file in UTF7 mode. Default translations of carriage return/line feed combinations are suppressed. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.

OF_UTF8

This constant instructs to open a file in UTF8 mode. Default translations of carriage return/line feed combinations are suppressed. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions.

OF_Write

This constant instructs to open a file for writing only. Use this constant with the Sal.FileOpen and Sal.FileOpenExt functions. Value = 1

PIC_FitBestFit

Use this constant with the Sal.PicSetFit function to set the fit for a picture. PIC_FitBestFit causes the image to fit either the width or height of the window. Scaling is proportional and the image is not distorted. Value = 2

PIC_FitScale

Use this constant with the Sal.PicSetFit function to set the fit for a picture. PIC_FitScale scales the image by the percentages specified in nScaleWidth and nScaleHeight. Scaling may not be proportional and the image might be distorted. Value = 3

PIC_FitSizeToFit

Use this constant with the Sal.PicSetFit function to set the fit for a picture. PIC_FitSizeToFit stretches or shrinks the image to fit within the picture frame. This is not proportional scaling and might distort the image. Value = 1

PIC_FormatBitmap

Use this constant with the Sal.PicSetString, Sal.PicGetString, and Sal.PicSet functions to set the contents of a picture from a string. PIC_FormatBitmap means that the picture is a bitmap. You can also use this constant with Sal.PicSetHandle to set the image in a picture window with the handle of a bitmap. Value = 1

PIC_FormatIcon

Use this constant with the Sal.PicSetString and Sal.PicSet functions to set the contents of a picture from a string. PIC_FormatIcon means that the picture is an icon. You can also use this constant with Sal.PicSetHandle to set the image in a picture window with the handle of an icon. Value = 2

PIC_FormatObject

Use this constant with the Sal.PicSetString and Sal.PicGetString functions to set the contents of a picture from a string. PIC_FormatObject means that the picture is an OLE object. Value = 3

PIC_ImageTypeBMP

Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeBMP means that the picture is a .BMP. Value = 1

PIC_ImageTypeGIF

Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeGIF means that the picture type is .GIF. Value = 6

PIC_ImageTypeICON

Use this constant with the Sal.PicSetImage function to set the contents of a picture without the CTD image header. PIC_ImageTypeICON means that the picture type is .ICON. Note: This constant is not supported for Sal.PicGetImage. Value = 2

PIC_ImageTypeJPEG

Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeJPEG means that the picture type is JPEG. Value = 7

PIC_ImageTypeNone

Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeNone means that the picture has no type. Value = 0

PIC_ImageTypeNuVEQ

Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeNuVEQ means that the picture type is NuVEQ. Note: This type is supported in Japan. It is also supported if you have an ImageMan license. Value = 8

PIC_ImageTypePCX

Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypePCX means that the picture type is .PCX. Value = 5

PIC_ImageTypeTIFF

Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeTIFF means that the picture type is .TIFF. Value = 4

PIC_ImageTypeWMF

Use this constant with the Sal.PicSetImage and Sal.PicGetImage functions to set the contents of a picture without the CTD image header. PIC_ImageTypeWMF means that the picture type is .WMF. Value = 3

PLATFORM_Current

An application interrogates its runtime environment to determine whether it is running on Microsoft Windows. An application may want to check the value of PLATFORM_Current if it has code paths that it will or will not execute depending on the operating system it is running on.

PLATFORM_Solaris

This constant identifies the operating system on which an application is running as SunSoft's Solaris. Value = 1

PLATFORM_Windows

This constant identifies the operating system on which an application is running as Microsoft Windows. Value = 0

PRT_nCopyCount

Use this constant to get and set the number of copies to print. The default setting is 1. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 3

PRT_nDraftMode

Use this constant to get and set the print mode to either Draft or Proof. Draft mode prints faster than Proof mode, but with lower resolution. The default setting is Draft. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 1

PRT_nFromPage

This constant gets and sets the first page to print. The default starting page number is 1. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 7

PRT_nMarginLeft

This constant gets and sets the left margin. The default left margin is 0. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 4

PRT_nMarginTop

This constant gets and sets the top margin. The default left margin is 0. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 5

PRT_nPrintAll

Use this constant to determine or specify whether all pages of a form are to print. It overrides PRT_nFromPage and PRT_nToPage settings. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 6

PRT_nShowFormPageRect

Use this constant to determine or specify whether a rectangle is drawn around the printed form using the form size. The default setting for this constant is FALSE. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 9

PRT_nToPage

This constant gets and sets the last page to print. The default ending page number is 1. Use this constant with the Sal.PrtGetParmNum, Sal.PrtSetParmNum, and Sal.PrtSetParmDefaults functions. Value = 8

ROW_Edited

This flag indicates that a row was edited. ROW_Edited is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, SalTblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 4

ROW_Hidden

This flag indicates that a row is hidden from view. ROW_Hidden is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 0x2000

ROW_HideMarks

This flag indicates that the row's editing marks (in the row header) are hidden from view. ROW_HideMarks is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 64

ROW_MarkDeleted

This flag indicates that the row is marked for deletion. ROW_MarkDeleted is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 32

ROW_New

This flag indicates that the row has been newly inserted. ROW_New is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 8

ROW_Selected

This flag indicates that the row is selected. ROW_Selected is returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 2

ROW_UnusedFlag1

This flag is available for your application to use. ROW_UnusedFlag1 can be returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 0x80

ROW_UnusedFlag2

This flag is available for your application to use. ROW_UnusedFlag2 can be returned or used by a number of table window row functions to set or determine the current status of a row. You can combine ROW_* flags using the OR (|) operator. Use with the functions: Sal.TblAnyRows, Sal.TblCopyRows, Sal.TblFindNextRow, Sal.TblFindPrevRow, Sal.TblQueryRowFlags, Sal.TblSetFlagsAnyRows, Sal.TblSetRowFlags. Value = 0x100

RPT_BeforeBreakFooter1

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formated. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 14

RPT_BeforeBreakFooter2

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formated. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 15

RPT_BeforeBreakFooter3

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 16

RPT_BeforeBreakFooter4

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 17

RPT_BeforeBreakFooter5

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 18

RPT_BeforeBreakFooter6

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 19

RPT_BeforeBreakFooter7

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 20

RPT_BeforeBreakFooter8

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakFooter1 through RPT_BeforeBreakFooter8 are after a report's detail block. Value = 21

RPT_BeforeBreakHeader1

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 6

RPT_BeforeBreakHeader2

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 7

RPT_BeforeBreakHeader3

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 8

RPT_BeforeBreakHeader4

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 9

RPT_BeforeBreakHeader5

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 10

RPT_BeforeBreakHeader6

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 11

RPT_BeforeBreakHeader7

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 12

RPT_BeforeBreakHeader8

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be formatted. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeBreakHeader1 through RPT_BeforeBreakHeader8 are before a report's detail block. Value = 13

RPT_BeforeDetail

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when a part of a report is ready to be processed. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforeDetail indicates it is ready to process the detail block. Value = 5

RPT_BeforePageFooter

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message when a part of a report is ready to be processed. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforePageFooter indicates that it is ready to process the bottom of a page. Value = 2

RPT_BeforePageHeader

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message when a part of a report is ready to be processed. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforePageHeader indicates that it is ready to process the top of a page. Value = 1

RPT_BeforeReportFooter

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message when a part of a report is ready to be processed. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforePageHeader indicates that it is ready to process the top of a page. Value = 4

RPT_BeforeReportHeader

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message when a part of a report is ready to be processed. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report is ready to be processed. RPT_BeforePageHeader indicates that it is ready to process the top of a page. Value = 3

RPT_CmdFirstPage

Use this constant with the Sal.ReportCmd function to display the first page of a report. Value = 1

RPT_CmdGoToPage

Use this constant with the Sal.ReportCmd function to display a dialog box where the user can enter the page number in the report to scroll to. Value = 9

RPT_CmdLastPage

Use this constant with the Sal.ReportCmd function to display the last page of a report. Value = 2

RPT_CmdNextPage

Use this constant with the Sal.ReportCmd function to display the next page of a report. Value = 3

RPT_CmdPrevPage

Use this constant with the Sal.ReportCmd function to display the previous page of a report. Value = 8

RPT_CmdPrint

Use this constant with the Sal.ReportCmd function to print the report. Value = 4

RPT_CmdPrinterSetup

Use this constant with the Sal.ReportCmd function to display the Printer Setup dialog box where the user can change the print settings. Value = 7

RPT_CmdSizeActual

Use this constant with the Sal.ReportCmd function to display a report in its true size in the report window. The user may need to scroll the window horizontally or vertically to see the entire report. Value = 6

RPT_CmdSizeFit

Use this constant with the Sal.ReportCmd function fit the report within the report window. This is useful when you want to view the general format of a report as it appears when printed. Value = 5

RPT_DoneBreakFooter1

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 56

RPT_DoneBreakFooter2

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 57

RPT_DoneBreakFooter3

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 58

RPT_DoneBreakFooter4

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 59

RPT_DoneBreakFooter5

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 60

RPT_DoneBreakFooter6

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 61

RPT_DoneBreakFooter7

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 62

RPT_DoneBreakFooter8

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakFooter1 through RPT_DoneBreakFooter8 are after a report's detail block. Value = 63

RPT_DoneBreakHeader1

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 48

RPT_DoneBreakHeader2

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 49

RPT_DoneBreakHeader3

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 50

RPT_DoneBreakHeader4

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 51

RPT_DoneBreakHeader5

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 52

RPT_DoneBreakHeader6

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 53

RPT_DoneBreakHeader7

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 54

RPT_DoneBreakHeader8

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneBreakHeader1 through RPT_DoneBreakHeader8 are before a report's detail block. Value = 55

RPT_DoneDetail

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneDetail indicates that the detail block has just been processed. Value = 47

RPT_DonePageFooter

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DonePageFooter indicates that it has just processed the bottom of a page. Value = 44

RPT_DonePageHeader

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DonePageHeader indicates that it has just processed the top of a page. Value = 43

RPT_DoneReportFooter

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneReportFooter indicates that it has processed the end of the report. Value = 46

RPT_DoneReportHeader

Use this constant in a SAM_ReportNotify message's lParam. The SAM_ReportNotify message is send when the formatting of a part of a report is finished. When you process SAM_ReportNotify, you can check the lParam parameter value to see which part of the report has just been processed. RPT_DoneReportHeader indicates that it has completed processing the beginning of the report. Value = 45

RPT_EnableCancel

Use this constant to enable the cancel button in the report preview panel. It should be specified in the nFlags parameter of Sal.ReportView function.

RPT_ErrBind

RPT_ErrBind means that a bind error occurred. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 3

RPT_ErrCount

RPT_ErrCount means that a report function provided the wrong number of bind/input variables. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 9

RPT_ErrFilenameLength

RPT_ErrFilenameLength means that the specified report file name was too long. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 4

RPT_ErrFileOpen

RPT_ErrFileOpen means that a report function was unable to open the specified report file. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 5

RPT_ErrInput

RPT_ErrInput means that a mismatch occurred between the input variable and the associated bind variable. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 10

RPT_ErrLoadDLL

RPT_ErrLoadDLL means that a report function was unable to load the required DLLs. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 1

RPT_ErrMaxRpts

RPT_ErrMaxRpts means that the maximum number of reports was exceeded. Maximum number of reports = 10. Returned by the functions: Sal.ReportCreate, Sal.ReportPrint, Sal.ReportPrintToFile, Sal.ReportView, Sal.ReportTableCreate, Sal.ReportTablePrint, Sal.ReportTableView. Value = 2