<< Click to Display Table of Contents >> Navigation: Apollo VCL Components > Apollo VCL Component Reference > TApolloTable > TApolloTable Methods > GetStringEx |
Declaration
function GetStringEx( sFieldName: String ): PChar;
Description
Extracts the contents of a character field as a PChar value. This was useful mainly in Delphi 1.x for fields which are too long (over 255 bytes wide) to use GetString. You should not need to use this function under 32-bit compilers and only remains for backwards compatibility.
Parameters
sFieldName: The name of the field.
Return Value
The field contents are returned as a PChar.
Delphi Example
// Read long NOTES field into PChar cpNotes
cpNotes := ApTbl.GetStringEx( 'NOTES' );
C++Builder Example
// Read long NOTES field into PChar cpNotes
cpNotes = ApTbl->GetStringEx( "NOTES" );
See Also
GetString, GetTrimString, GetBinary, GetBlob