Results 1 to 2 of 2

Thread: OPTION in connect string

  1. #1

    Thread Starter
    Fanatic Member mutley's Avatar
    Join Date
    Apr 2000
    Location
    Sao Paulo - Brazil
    Posts
    709

    OPTION in connect string

    Hi

    Whate is OPTION in String of connection below ? 1+ 2 +8..etc

    Code:
    Set Conexao = New ADODB.Connection
    Conexao.Open "Provider=MSDAORA.1; DATA SOURCE =" & cServer & _
                 "; User ID =" & cUserBanco & _
                 "; PASSWORD = '" & cPassOracle & "'" & _
                 "; OPTION=" & 1 + 2 + 8 + 32 + 2048 + 163841 & _
                 "; CursorType = adOpenKeyset; CursorLocation = adUseClient; ConnectionTimeout = 30; Persist Security Info=False"
    Conectado = True
    Exit Sub

    tia

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: OPTION in connect string

    Thread moved to 'Database Development' forum (the 'VB6' forum is only meant for questions which don't fit in more specific forums)

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