Results 1 to 27 of 27

Thread: Re: import text file to access table using vb

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2006
    Posts
    584

    import text file to access table using vb

    hello,how to import text file to access table using vb?what i'm trying to do is import the text data from the select text file using commandialog select desire text file to import into the access database.i upload the text file here,the data want to import from text is only the value.please help.Thanks alot!


    this is the commondialog i done with!
    Code:
    Private Sub CmdSearch_Click()
    On Error GoTo ErrHandler
    
        With CommonDialog1
            .CancelError = True
            .Filter = "General Modules (*.txt)/*.txt"
            .ShowOpen
      End With   
       
    ErrHandler:
        Err.Clear
        Exit Sub
    
    End Sub
    Thanks for help!
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width