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. Database & SysAdmin
  3. Database
  4. Editing a MS Access database

Editing a MS Access database

Scheduled Pinned Locked Moved Database
databasequestionannouncement
4 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.
  • M Offline
    M Offline
    myNameIsRon
    wrote on last edited by
    #1

    Hi, I need to modify a MS Access database: - Rename tables - Rename columns - Add new columns and set field properties (Can't seem to set "Allow Zero Length" with Access SQL) I'm finding that SQL for Access is sometimes lacking when I need to update the database as my application grows. I see from my on-line research that some people turn to DAO or ADOX. If I'm working with an Access db, which should I use and why? PS - Why would MS Access have a field property "Allow Zero Length" but no SQL statement to set/change it? thanks, Ron

    S 1 Reply Last reply
    0
    • M myNameIsRon

      Hi, I need to modify a MS Access database: - Rename tables - Rename columns - Add new columns and set field properties (Can't seem to set "Allow Zero Length" with Access SQL) I'm finding that SQL for Access is sometimes lacking when I need to update the database as my application grows. I see from my on-line research that some people turn to DAO or ADOX. If I'm working with an Access db, which should I use and why? PS - Why would MS Access have a field property "Allow Zero Length" but no SQL statement to set/change it? thanks, Ron

      S Offline
      S Offline
      Stephen McGuire
      wrote on last edited by
      #2

      First of all, only Text, Memo and Hyperlink fields can accept zero length strings and therefore have that property. You may want to look into using DDL to manage your table properties. Steve

      M 1 Reply Last reply
      0
      • S Stephen McGuire

        First of all, only Text, Memo and Hyperlink fields can accept zero length strings and therefore have that property. You may want to look into using DDL to manage your table properties. Steve

        M Offline
        M Offline
        myNameIsRon
        wrote on last edited by
        #3

        Thanks Steve, I knew that only Text, Memo and Hyperlink fields only have that property, but as far as my research, I can't use SQL to change this property... if there is, please let me know. Thanks for the tip on DDL, I'll do some research. Ron

        S 1 Reply Last reply
        0
        • M myNameIsRon

          Thanks Steve, I knew that only Text, Memo and Hyperlink fields only have that property, but as far as my research, I can't use SQL to change this property... if there is, please let me know. Thanks for the tip on DDL, I'll do some research. Ron

          S Offline
          S Offline
          Stephen McGuire
          wrote on last edited by
          #4

          I always do such edits in Access. I have never tried to alter table structures dynamically from VB. You may want to try posting your question in MDBMakers.com. This forum has Access MVP's and many knowledgeable users who may be able to help you. Steve

          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