<< Click to Display Table of Contents >>
Copies the specified number of characters or bytes (depending on Type) in the Stream to another Stream object
METHOD CopyTo ( oDest AS AdoStream, liNumChars AS USUAL ) AS VOID
oDest AdoStream Object An object variable value that contains a reference to an open Stream object
liNumChars LONG (Optional) An Integer value that specifies the number of bytes or characters to be copied
This method copies the specified number of characters or bytes, starting from the current position specified by the Position property. If the specified number is more than the available number of bytes until EOS, then only characters or bytes from the current position to EOS are copied. If the value of NumChars is –1, or omitted, all characters or bytes starting from the current position are copied.