当前位置: 首页 > 网络学院 > 服务端脚本教程 > ADO > ADO AppendChunk 方法
The AppendChunk method is used to append long binary or character data to a Parameter or Field object.
AppendChunk方法的作用是:向字段对象中追加长二进制数据或字符数据。
Tip: Use this method to manipulate long values in portions.
提示:可以使用这个方法对长值部分进行操作。
Object对象 | Description of the AppendChunk Method关于AppendChunk方法的描述 |
---|---|
Parameter | You can use the AppendChunk method for a Parameter object if the Attributes property is set to adFldLong. First time you call the AppendChunk method on a Parameter object it overwrites any existing data. The next AppendChunk calls add data to existing parameter data. |
Field | You can use the AppendChunk method for a Field object if the Attributes property is set to adFldLong. First time you call the AppendChunk method on a Field object it overwrites any existing data. The next AppendChunk calls add data to existing data. If you append data to one field and then set or read the value of another field in the current record, ADO assumes that you are finished appending data to the first field. If you then call the AppendChunk method on the first field again, ADO will overwrite the existing data. Accessing fields in other Recordset objects that are not clones of the first Recordset object will not disrupt AppendChunk operations. There must be a current record when you call the AppendChunk method on a Field object. Note: This method does not work on Field objects of a Record object. |
objectname.AppendChunk data |
Parameter参数 | Description描述 |
---|---|
data | The data to append 指定需要追加的数据 |