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. Visual Basic
  4. 2 problems with MS Access

2 problems with MS Access

Scheduled Pinned Locked Moved Visual Basic
databasehelpcareer
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.
  • V Offline
    V Offline
    vertig0730
    wrote on last edited by
    #1

    I am currently writing a large database programfor a manufacturing company and I have to problems. 1) When I am setting up my DataAdapter I can not add more that about 100 fields anything past that and i get errors. 2) When a job is done I want to move it from one database to another. Right now i am doing it manually i would like a way to say send this record from database "a" to database "b" I would appreciate any help that can be given James Kennelly

    D 1 Reply Last reply
    0
    • V vertig0730

      I am currently writing a large database programfor a manufacturing company and I have to problems. 1) When I am setting up my DataAdapter I can not add more that about 100 fields anything past that and i get errors. 2) When a job is done I want to move it from one database to another. Right now i am doing it manually i would like a way to say send this record from database "a" to database "b" I would appreciate any help that can be given James Kennelly

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      vertig0730 wrote: 1) When I am setting up my DataAdapter I can not add more that about 100 fields anything past that and i get errors. There is a 100 field limit in the DataAdapter Configuration Wizard. You'll have to do it manually if you want more, or just don't pick that many fields. PRB: 100 Column Limit in DataAdapter Configuration Wizard[^] Over 100 fields in an Access database? Over 100 fields in a single table? :omg: Yikes! Ever hear of MSDE or SQL Server? vertig0730 wrote: 2) When a job is done I want to move it from one database to another. Right now i am doing it manually i would like a way to say send this record from database "a" to database "b" You'd do it the same way you'd read and write any records. Setup connections to both databases, setup the command object to read the data from a table in Database A, and execute the command. Then assign the data from each field read to the corresponding field in the parameters of the INSERT query into Database B. Execute the write command on Database B. Do this for each record you find in database A. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

      V 1 Reply Last reply
      0
      • D Dave Kreskowiak

        vertig0730 wrote: 1) When I am setting up my DataAdapter I can not add more that about 100 fields anything past that and i get errors. There is a 100 field limit in the DataAdapter Configuration Wizard. You'll have to do it manually if you want more, or just don't pick that many fields. PRB: 100 Column Limit in DataAdapter Configuration Wizard[^] Over 100 fields in an Access database? Over 100 fields in a single table? :omg: Yikes! Ever hear of MSDE or SQL Server? vertig0730 wrote: 2) When a job is done I want to move it from one database to another. Right now i am doing it manually i would like a way to say send this record from database "a" to database "b" You'd do it the same way you'd read and write any records. Setup connections to both databases, setup the command object to read the data from a table in Database A, and execute the command. Then assign the data from each field read to the corresponding field in the parameters of the INSERT query into Database B. Execute the write command on Database B. Do this for each record you find in database A. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

        V Offline
        V Offline
        vertig0730
        wrote on last edited by
        #3

        1)I thought about SQL but when this project started it was only supposed to do one thing, It got bigger quick. It now spans 5 databases mostly in the 40 field range. this last one has to use data from one of the existing databases and add to it. I have tried splitting the old information and the new information but had no luck. 2)Thank you James Kennelly

        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