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. how to change field order in *.mdb

how to change field order in *.mdb

Scheduled Pinned Locked Moved C / C++ / MFC
databasetutorialquestion
2 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.
  • W Offline
    W Offline
    Wormhole5230
    wrote on last edited by
    #1

    I created a database using CDaoDatabase and the fields were originally arranged using m_nOrdinalPosition parameter in CDaoFieldInfo. Now, I want to change a order whenever I want. Is it possible? How about the records? Is it also possible to change the order of records?

    R 1 Reply Last reply
    0
    • W Wormhole5230

      I created a database using CDaoDatabase and the fields were originally arranged using m_nOrdinalPosition parameter in CDaoFieldInfo. Now, I want to change a order whenever I want. Is it possible? How about the records? Is it also possible to change the order of records?

      R Offline
      R Offline
      Ryan Binns
      wrote on last edited by
      #2

      Wormhole5230 wrote: I created a database using CDaoDatabase and the fields were originally arranged using m_nOrdinalPosition parameter in CDaoFieldInfo. Now, I want to change a order whenever I want. Is it possible? Not that I know of. Wormhole5230 wrote: Is it also possible to change the order of records? Again, not that I know of. Most of the time, you'd specify a sort order in your SQL query to access the recordset in a specific order. Ask in the SQL/ADO/ADO.NET forum. They will probably be able to give you a more definite answer. Ryan Being little and getting pushed around by big guys all my life I guess I compensate by pushing electrons and holes around. What a bully I am, but I do enjoy making subatomic particles hop at my bidding - Roger Wright (2nd April 2003, The Lounge)
      Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late - John Nichol "Point Of Impact"

      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