Computing.Net > Forums > Programming > ASP ADO AppendChunk Problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

ASP ADO AppendChunk Problem

Reply to Message Icon

Name: Spencer Ruport
Date: November 12, 2002 at 16:13:13 Pacific
OS: N/A
CPU/Ram: N/A
Comment:

The culprit:
oRs.Fields("FileData").AppendChunk = oFile.BinaryData & ChrB(0)

The Error:
Operation is not allowed in this context.

The Cause:
If the adFldLong bit in the Attributes property of a Field object is set to True, you can use the AppendChunk method for that field.

Aight? Sooooo how do I set the freaking bit? Does anyone out there know?



Sponsored Link
Ads by Google

Response Number 1
Name: King James
Date: December 9, 2002 at 13:23:09 Pacific
Reply:

hey, its a method call....
not a property, you can't set it like that.
oRs.Fields("FileData").AppendChunk oFile.BinaryData & ChrB(0)


0
Reply to Message Icon

Related Posts

See More


Code for printing documen... how to solve this error??...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: ASP ADO AppendChunk Problem

Javascript or ASP help www.computing.net/answers/programming/javascript-or-asp-help/12772.html

ASP & Microsoft SQL www.computing.net/answers/programming/asp-amp-microsoft-sql/4831.html

Microsoft SQL SERVER 7.0 & ASP www.computing.net/answers/programming/microsoft-sql-server-70-amp-asp/4823.html