Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Simple ado problem

Simple ado problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpdatabasejsonquestionlearning
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Scozturk
    wrote on last edited by
    #1

    Hi! I am trying to create a database application using the Win32 API and by using ado. pSet is my recordset pointer. If I do this: pSet->MoveNext(); it works. And if I do this: pSet->MoveFirst(); It also works. But when I do: MovePrevious(); or MoveLast(); It doesnt work and it gives an "Abnormal termination" error!??! :confused::confused: Can someone help me? :sigh: Thank you very much for your future answers! Well... I am a beginner ...

    P R 2 Replies Last reply
    0
    • S Scozturk

      Hi! I am trying to create a database application using the Win32 API and by using ado. pSet is my recordset pointer. If I do this: pSet->MoveNext(); it works. And if I do this: pSet->MoveFirst(); It also works. But when I do: MovePrevious(); or MoveLast(); It doesnt work and it gives an "Abnormal termination" error!??! :confused::confused: Can someone help me? :sigh: Thank you very much for your future answers! Well... I am a beginner ...

      P Offline
      P Offline
      Prakash Nadar
      wrote on last edited by
      #2

      I am not an expert in this but if i am not wrong there are two types of recordset dynaset and something else. The feature you are looking for is availabe in one of them and not both.Just try to get more information about it. The World is getting smaller and so are the people.

      1 Reply Last reply
      0
      • S Scozturk

        Hi! I am trying to create a database application using the Win32 API and by using ado. pSet is my recordset pointer. If I do this: pSet->MoveNext(); it works. And if I do this: pSet->MoveFirst(); It also works. But when I do: MovePrevious(); or MoveLast(); It doesnt work and it gives an "Abnormal termination" error!??! :confused::confused: Can someone help me? :sigh: Thank you very much for your future answers! Well... I am a beginner ...

        R Offline
        R Offline
        rrrado
        wrote on last edited by
        #3

        MAYBE your database service provider/driver does not support theese operations (backward seeking). Every database engine supports another set of functions, I'm not sure whether all databases supports this type of seeking


        rrrado

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups