PRB: Invalid Use of NULL Assigning Text Fields Value (198300)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q198300 SYMPTOMS When attempting to assign the value of a SQL Server text
field to a text box control the following error may occur:
Invalid Use of Null. The SQL Server text
field may actually contain data in it, but even checking the value while in
Debug mode can cause the fields contents to change to NULL. CAUSE Neither Remote Data Objects (RDO) or ActiveX Data Objects
(ADO) are caching the text field value so the requests are sent back to the
dataprovider. The cursor engine may not have enough information to request that
field value again from the server. RESOLUTION There are several workarounds for this behavior:
STATUS This behavior is by design. REFERENCES
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
194975
HOWTO: Read and Write BLOBs Using GetChunk and AppendChunk
153238 HOWTO: Use GetChunk and AppendChunk Methods of RDO and ADO Object
Modification Type: | Minor | Last Reviewed: | 3/14/2005 |
---|
Keywords: | kbprb kbRDO KB198300 |
---|
|