RAD Studio VCL Reference
|
Specifies the value of the parameter when it represents a memo field.
property AsMemo: string;
__property AnsiString AsMemo;
Set AsMemo to assign the value for a memo field to the parameter. Setting AsMemo sets the DataType property to ftMemo.
A literal string or a null-terminated string may be directly assigned to the parameter for a memo column using the AsMemo property. For example:
SQLQuery1.Params[0].AsMemo := 'Some text in a long Pascal String';
SQLQuery2->ParamByName("Notes")->AsString = "Some string value";
It is seldom necessary to read AsMemo, because memo fields can not be used as output parameters.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|