DataWindow constants

Supported

In PowerBuilder, constants are defined in the DataWindow control for values of properties and arguments for methods. They are sets of values associated with enumerated data types. Values for enumerated data types always end with an exclamation point. The following list is the PowerBuilder constants Appeon supports:

Table 263. 

Constant

Supported Values

Unsupported Values

Alignment

Left!

Center!

Right!

Justify!

Band

Detail!

Header!

Footer!

None

Border

NoBorder!

Box!

Lowered!

Raised!

ShadowBox!

Underline!

ResizeBorder!

BorderStyle

StyleBox!

StyleLowered!

StyleRaised!

StyleShadowBox!

CharSet

CharSetAnsi!

CharSetUnicode!

CharSetAnsiHebrew!

CharSetAnsiArabic!

CharSetDBCS-Japanese!

DWBuffer

Primary!

Delete!

Filter!

None

DWItemStatus

NotModified!

DataModified!

New!

NewModified!

None

Note: It is not recommended to change status in script. Frequent or inappropriate user modification may result in unpredictable problems. The following operation is not recommended for new rows with no specified values for their columns: Changing a row's status from New! to NewModified and updating in script.

SaveAsType

Excel!

Excel5!

HTMLTable!

PDF!

Text!

WMF!

XML!

Note: Up to 256 characters are supported and anything larger will be automatically truncated.

CSV!

SYLK!

WKS!

WK1!

DIF!

dBASE2!

dBASE3!

SQLInsert!

Clipboard!

PSReport!

XSLFO!

Excel8!

EMF!

SQLPreview​Function

PreviewFunctionRetrieve!

PreviewFunctionReselectRow!

PreviewFunctionUpdate!

SQLPreviewType

PreviewSelect!

PreviewInsert!

PreviewDelete!

PreviewUpdate!


If a constant is set to an unsupported value, Appeon will use the default enumerated value as the constant value. For example, unsupported BorderStyle will be read as NoBorder.

Unsupported

The following constants are not supported:

Table 264. 

ConnectionSource

DriverType

DWConflictResolution

FillPattern

grColorType

grDataType

grObjectType

grSymbolType

LineStyle

RowFocusInd