From RAD Studio API Documentation
Jump to: navigation, search


property AsString: string read GetAsString write SetAsString;


__property System::UnicodeString AsString = {read=GetAsString, write=SetAsString};


Type Visibility Source Unit Parent
property public
Data.DB TParam


Specifies the value of the parameter when it represents a string field.

Set AsString to assign the value for a string field to the parameter. Setting AsString sets the DataType property to ftString.

Read the AsString property to determine the value that was assigned to an output parameter, represented as a string. The value of the parameter is converted to a string.

Note: Some servers support string field types that are too long to fit in the record buffer. These fields are represented as memo fields, although they are not actually Blob fields. When working with such "pseudo-Blob" fields, use the AsString property rather than the AsMemo property.

See Also

Code Examples