Powered by Zoomin Software. For more details please contactZoomin

DataDirect OpenAccess SDK Help

Using the setVal method with a selected field

  • Last Updated: May 12, 2026
  • 1 minute read
    • OpenAccess SDK
    • Version 9.0
    • Documentation

Sets the selected field's value.

void setVal( 
  int field, 
  int value)

Parameters for setVal

Parameter Type Description
INPUT
field int The field to set. See Table xo_tm Field Identifier Constants for the field identifier constants.
value int The value to set. Must be in range as specified in Table xo_tm Field Identifier Constants.
RETURN
NONE

xo_tm Field Identifier Constants

Field Identifier Constant Description
SECOND Seconds after the minute - [0,59].
MINUTE Minutes after the hour - [0,59].
HOUR Hours since midnight - [0,23].
DAY_OF_MONTH Day of the month - [1,31].
MONTH Months since January - [0,11].
YEAR Years after 0 A.D.
DAY_OF_WEEK Days since Sunday - [0,6].
DAY_OF_YEAR Days since January 1 - [0,365].
IS_DST Daylight savings time flag.
FRACTION Number of billionths of a second and ranges from 0 - 999999999).
TitleResults for “How to create a CRG?”Also Available inAlert