GetLong

<< Click to Display Table of Contents >>

Navigation:  Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Methods >

GetLong

Declaration

function GetLong( sFieldName: String ): LongInt;

Description

Extracts the contents of a numeric field as a signed long integer value. Long integer range is

-2,147,483,648 to 2,147,483,647.

Parameters

sFieldName: The name of the field.

Return Value

The contents of the field converted to a signed long integer value.

Delphi Example

lSalary := ApTbl.GetLong( 'SALARY' );

C++Builder Example

lSalary = ApTbl->GetLong( "SALARY" );

See Also

GetDouble, GetInteger