This is a search engine friendly CGI program that outputs help documents.
The LufDoc (Live User Fed Documentation) comment system will be implemented soon.

PSP Help Doc Indexer System

(Version 1.4.1)


Declaration:

function sds_column_type(cp: SDS_ColumnInfo; index: longword): byte;

Arguments:

cp Column information handle
index Null based numeric column index

Description:

This function is used to detect data type for specified column.

Returns:

Data type code on success or 0 on error. Valid data codes are:
	1 = VARCHAR/TEXT
	2 = INT/INTEGER
	3 = FLOAT/REAL/DOUBLE
	4 = DATE
	5 = TIME
	6 = DATETIME
	

Usage:

b := sds_column_type(cp, 3);
case b of
	1: // some actions
	2: // some actions
	3: // some actions
	4: // some actions
	5: // some actions
	6: // some actions
end;

See also:

sds_column_info, sds_column_free, sds_column_name, sds_column_index.

PSP Help documents