Wow! So much info at once. Ok here is what I need to do. I need to add a table to my existing MS Access database called TempDocAudio with a text field called "n_id" and add two fields to an existing table called Documents and the new text fields are "n_mp3" and "n_wavBol" all of the same database.

So maybe you guys can help me script this out. In my module I set up a sub like this to access my database then when ever I need to make a call to the db I do a Call CreateConnection(objConn) and then Call CloseConnection(objConn).
VB Code:
  1. Sub CreateConnection(objConn As Connection)
  2.  
  3. ' CONNECTION STRING FOR THE DATABASE
  4.     AccessConnect = "DRIVER={Microsoft Access Driver (*.mdb)};" & _
  5.                     "DBQ=Westfield.MDB;" & _
  6.                     "DefaultDir=" & App.Path & ";"
  7.  
  8.     'MsgBox AccessConnect
  9.  
  10.     ' Create Connection Object and open it
  11.     Set objConn = New ADODB.Connection
  12.  
  13.     objConn.CursorLocation = adUseClient
  14.  
  15.     ' Trap any error/exception
  16.     On Error GoTo AdoError
  17.  
  18.     objConn.ConnectionString = AccessConnect
  19.     objConn.Open
  20.  
  21.     Exit Sub
  22.  
  23.     ' ADO Error/Exception Handler
  24. AdoError:
  25.     ErrNumber = Err.Number
  26.     ErrSource = Err.Source
  27.     ErrDescription = Err.Description
  28.  
  29.     'AdoErrorEx List1, objConn
  30.  
  31. End Sub
  32.  
  33. Sub CloseConnection(objConn As Connection)
  34.  
  35.     objConn.Close
  36.     Set objConn = Nothing
  37.  
  38. End Sub


So on my Sub Form Load I have this, how do I correctly scritp out what I want to do.
VB Code:
  1. Private Sub Form_Load()
  2.  
  3.     On Error GoTo FormLoadError
  4.  
  5.    
  6.     frmIntro.Caption = "1:1 card " & Chr(147) & "Because every customer is different" & Chr(153) & Chr(46) & Chr(148)
  7.     frmIntro.Label1.Caption = "© Copyright 2005 Westfield Insurance. All rights reserved."
  8.  
  9.    
  10.     'create directories if they do not already exist
  11.     If Dir(App.Path & "\" & "CDTypes", vbDirectory) = "" Then
  12.         'MsgBox "Directory doesn't exist"
  13.         MkDir (App.Path & "\" & "CDTypes")    ' make new directory
  14.         MkDir (App.Path & "\" & "WavFiles")    'make wavFile directory
  15.     Else
  16.         'MsgBox "Directory Exist"
  17.     End If
  18.    
  19.  
  20.    
  21.     'create new table TestTable
  22.     Call CreateConnection(objConn)
  23.         objConn.Execute "CREATE TABLE TestTable(my_id  TEXT(50)  NOT NULL)"
  24.     Call CloseConnection(objConn)
  25.    
  26.     Call CreateConnection(objConn)
  27.     objConn.Execute "ALTER TABLE TestTable (my_name  TEXT(50)  NOT NULL)"
  28.     Call CloseConnection(objConn)
  29.    
  30. ' Error handler
  31. FormLoadError:
  32.   If Err.Number <> 0 Then
  33.         errLogger Err.Number, Err.Description, "Open File"
  34.         Err.Clear
  35.         Resume Next
  36.         'Exit Sub
  37.     End If
  38.    
  39.  
  40. End Sub