Computer Learning Zone CLZ Access Excel Word Windows

One glance at a book and you hear the voice of another person, perhaps someone dead for 1,000 years. To read is to voyage through time.

-Carl Sagan
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Active Server Pages Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Cursor Operation Conflict
Joe Hood 
      
3 years ago
Hello Everyone,
I am using the code shown in the attached file to update a long text field. It works perfectly fine except for when the field is null. It then give me the Cursor Operation Conflict error message. Any ideas on how to solve this problem.
Thanks,
Joe
Joe Hood OP  @Reply  
      
3 years ago

Kevin Yip  @Reply  
     
3 years ago
Cursor-related errors most likely have to do with the cursor options you set at the end of the rs.Open statement.  Try using different options.  Richard's courses probably cover this more than I can do here.  Your current options are 0 (default), 3.  Try 1, 2, which is a different cursor and record-lock mechanism.

My advice is to avoid using recordsets to update tables in ASP.  Use recordsets only for viewing records, so you can use a less restrictive cursor and locking method.   To update data, use update queries, which don't involve cursors and won't cause the headache you see now.  E.g.:

    Conn.Execute "UPDATE Table1 SET A=B, C=D WHERE ID=1;"
    Conn.Execute "INSERT INTO Table2 SELECT E, F, G;"

Joe Hood OP  @Reply  
      
3 years ago
Thanks Kevin, I will give your suggestions a try and let you know how it works out.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Active Server Pages Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/9/2026 7:13:19 PM. PLT: 0s