CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2004
    Posts
    10

    Unhappy [ADO error] Attempt to scroll past end or before beginning of data

    Hi all, need help!

    I write code using VC++ accessing MSQL 2k using ODBC via ADO. At least one year my application did not causing problems, but until today i've got an error "Attempt to scroll past end or before beginning of data" when loading a data from SQL Server.

    only 1 row or record show up in my application and then the error message comes up. I try to use SQL Query Analyzer to show what happen with my query but nothings wrong.

    Can somebody tell why it could happen ? since this application works fine for a year, but suddenly crash..

    Thanx

  2. #2
    Andy Tacker is offline More than "Just Another Member"
    Join Date
    Jun 2001
    Location
    55°50' N 37°39' E
    Posts
    1,503

    Re: [ADO error] Attempt to scroll past end or before beginning of data

    you would require to post the function where you access the data recieved...
    If you think you CAN, you can, If you think you CAN'T, you are probably right.

    Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured