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. Database question ...

Database question ...

Scheduled Pinned Locked Moved C / C++ / MFC
questiondatabasegame-devhtmlcom
3 Posts 2 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.
  • H Offline
    H Offline
    Hadi Rezaee
    wrote on last edited by
    #1

    Hi all. What is Requery() ??? Is it for refresh recordset ? So, when i add/new/delete/edit each record, i must use it ? My month article: Game programming by DirectX by Lan Mader. Please visit in: www.geocities.com/hadi_rezaie/index.html Hadi Rezaie

    S 1 Reply Last reply
    0
    • H Hadi Rezaee

      Hi all. What is Requery() ??? Is it for refresh recordset ? So, when i add/new/delete/edit each record, i must use it ? My month article: Game programming by DirectX by Lan Mader. Please visit in: www.geocities.com/hadi_rezaie/index.html Hadi Rezaie

      S Offline
      S Offline
      Steve Driessens
      wrote on last edited by
      #2

      G'day Hadi, Requerying a recordset is functionally similar to closing and re-opening the recordset without some of the overhead. It's useful for those situations where you open a recordset which is sorted on a particular field. Now, say you add some records to the set. These new records 'appear' at the end of the recordset and not necessarily in their properly sorted position in the recordset. Just call Requery() and all of the records will be re-sorted. I hope this makes sense. Steve

      H 1 Reply Last reply
      0
      • S Steve Driessens

        G'day Hadi, Requerying a recordset is functionally similar to closing and re-opening the recordset without some of the overhead. It's useful for those situations where you open a recordset which is sorted on a particular field. Now, say you add some records to the set. These new records 'appear' at the end of the recordset and not necessarily in their properly sorted position in the recordset. Just call Requery() and all of the records will be re-sorted. I hope this makes sense. Steve

        H Offline
        H Offline
        Hadi Rezaee
        wrote on last edited by
        #3

        Hi steve. Thank you for useful answer ... :) My month article: Game programming by DirectX by Lan Mader. Please visit in: www.geocities.com/hadi_rezaie/index.html Hadi Rezaie

        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