Results 1 to 2 of 2

Thread: run time error 3709

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2010
    Posts
    24

    run time error 3709

    run time error 3709

    Code:
    Private Sub Form_Load()
    
    ' Creating Connection
    Dim adoCon As ADODB.Connection
    Set adoCon = New ADODB.Connection
    
    Dim conString As String
    conString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\MobileService.mdb;User Id=Admin;Password=;"
    
    adoCon.Open conString
    
    
    adoCon.CursorLocation = adUseClient
    MsgBox "Connection Established..."
    
    
    
    
    ' creating Querry
    Dim ar As Recordset
    Set ar = New ADODB.Recordset
    ar.Open "Select DLNAME FROM ServiceDetail"
    
    Do While Not ar.EOF
    
    Print ar.Fields("DLNAME").Value
    Loop
    
    
    End Sub

    My Code Project
    Gsm Flashing cable finder

  2. #2

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