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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Adding listbox items to an Access DB

Adding listbox items to an Access DB

Scheduled Pinned Locked Moved Visual Basic
databasehelpquestion
2 Posts 2 Posters 1 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.
  • C Offline
    C Offline
    China Gary
    wrote on last edited by
    #1

    I have an application that needs to add listbox items (strings) to an access database, with each item going to a new row in the table. Each one of these items has a unique id number (autonumber in access) and am getting stuck with it not writing properly to the DB. Wats the easiest way of going about this? Thanks

    J 1 Reply Last reply
    0
    • C China Gary

      I have an application that needs to add listbox items (strings) to an access database, with each item going to a new row in the table. Each one of these items has a unique id number (autonumber in access) and am getting stuck with it not writing properly to the DB. Wats the easiest way of going about this? Thanks

      J Offline
      J Offline
      JUNEYT
      wrote on last edited by
      #2

      in Access each table has only one autonumber field. Therefore, I assume that you are trying to place the strings in different tables (right?). If your aim is to write these strings in to one table, I suggest you to use a loop and retrieve the strings and then place those to table one by one. :omg:

      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