Explorer_Get_Datatype

This procedure is called by SmartList whenever it must determine the datatype for a column or field. Based on the parameter values passed in, the procedure must return the datatype for specified column or field.

The procedure must have the following parameters:

inout integer IO_Datatype;
in integer IN_Object_Dict_ID;
in integer IN_Object_Type;
in integer IN_Field_Dict_ID;
in integer IN_Field_ID;

IO_Datatype – An integer that must be set by the procedure to indicate the datatype of the specified column or field. The value corresponds to one of the following:

[spacer]

Datatype

Constant

Value

Integer

SMARTLIST_DATATYPE_INTEGER

1

Long integer

SMARTLIST_DATATYPE_LONG

2

Date

SMARTLIST_DATATYPE_DATE

3

Currency

SMARTLIST_DATATYPE_CURRENCY

4

String

SMARTLIST_DATATYPE_STRING

5

Boolean

SMARTLIST_DATATYPE_BOOLEAN

6

Drop-down list

SMARTLIST_DATATYPE_DDL

7

Account index

SMARTLIST_DATATYPE_ACCOUNTINDEX

8

Account number

SMARTLIST_DATATYPE_ACCOUNTNUMBER

9

Phone number

SMARTLIST_DATATYPE_PHONENUMBER

10

Social Security number

SMARTLIST_DATATYPE_SSN

11

Time

SMARTLIST_DATATYPE_TIME

12


IN_Object_Dict_ID – An integer specifying the ID of the dictionary that defines the SmartList object.

IN_Object_Type – An integer specifying the type of SmartList object. For SmartLists defined in the core application, the value corresponds to one of the constants defined in SmartList objects.

IN_Field_Dict_ID – An integer specifying the ID of the dictionary that defines the field for which the datatype is being retrieved.

IN_Field_ID – An integer specifying the resource ID of the field for which the datatype is being retrieved.


Documentation Feedback