Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











METHOD: Field::AppendChunk

fieldobject.AppendChunk (Data)
 
The AppendChunk method is used to append binary or text data to a Field object. To use the AppendChunk method, the adFldLong constant of the Attributes property of the specified Field object must be set to true.
 
This method and the companion GetChunk method allow you to manipulate databases that contain, for example, large text files or images.
 
The first time that you call AppendChunk, the data is not appended, but rather, it overwrites any existing data in the Field object. The second time that you call AppendChunk, the data is appended to the existing data. All subsequent calls will also append the data. However, if you set or read the value of another Field, then go back to the first Field, and call AppendChunk, the call will be treated as a first call and the data will overwrite rather than being appended.
 
You can use this method to pass large amounts of data into a Field object in reasonable sized blocks.
 
The Data parameter is a variant that is the binary or text data that you want to add to the Field object.
 
Code (VBScript):
rsData(strFieldName).AppendChunk varChunk

 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information