PRB: Unable to Update Long Text Fields Using ADO

ID: Q175245


The information in this article applies to:


SYMPTOMS

When attempting to perform a table update, the following message appears:

Query Based Insertion or Updating of BLOB values can not be supported. This may be caused by an attempt to update a non-primary table in a view


CAUSE

ActiveX Data Objects (ADO) 1.0 does not support updating long text fields with a forward-only cursor.


RESOLUTION

Use a cursor that supports bookmarks (for example, Keyset or Static).


STATUS

This behavior is by design.


MORE INFORMATION

If you have used Visual InterDev's DataForm Wizard to create the code that is experiencing this problem, follow these instructions:

  1. Edit xxxForm.asp.


  2. Search for the text: "DesignerControl" startspan.


  3. Right-click any of the text that is displayed in green, and select "Edit Design-time Control..."


  4. Click the Advanced tab.


  5. Change the "Cursor Type" to one that supports bookmarks (for example, 3- Static).


  6. Save the changes.


  7. Edit xxxList.asp and perform steps 2-6 again.



REFERENCES

For the latest Knowledge Base articles and other support information on Visual InterDev and Active Server Pages, see the following page on the Microsoft Technical Support site:

http://support.microsoft.com/support/vinterdev/

Additional query words:


Keywords          : kberrmsg kbwizard kbADO kbVisID kbVisID100 kbGrpASP 
Version           : WINDOWS:1.0,97
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: May 11, 1999