Re: TConnection.Open question



However, this is the only definition of the open in the imported type
library:

Procedure TConnection.Open(Const ConnectionString: WideString; Const
UserID: WideString;
Const Password: WideString; Options: Integer);

That is, there is no implementation without the parameters.

So, is there something I can pass, maybe a null string or NIL, that tells
ADO the parameter is not there or do I have to pass everything in the open,
thus making the various properties irrelevant.

try EmptyParam


--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.



Relevant Pages

  • Re: Update sheetname from cell, automatically
    ... Const sERROR As String = "Invalid worksheet name in cell " ... Dim sSheetName As String ... Set mySheet = Sheet2 ... ElseIf Not ) Is ...
    (microsoft.public.excel.programming)
  • RE: Get Open File Name dialog. When user clicks cancel.
    ... strCustomFilter As String ... Const ahtOFN_OVERWRITEPROMPT = &H2 ... Optional varTitleForDialog As Variant) As Variant ... Dim strFilter As String ...
    (microsoft.public.office.developer.vba)
  • Get Open File Name dialog. When user clicks cancel.
    ... strCustomFilter As String ... Const ahtOFN_OVERWRITEPROMPT = &H2 ... Optional varTitleForDialog As Variant) As Variant ... Dim strFilter As String ...
    (microsoft.public.office.developer.vba)
  • RE: API Open Dialog. What if user cancels
    ... strCustomFilter As String ... Const ahtOFN_OVERWRITEPROMPT = &H2 ... Optional varTitleForDialog As Variant) As Variant ... Dim strFilter As String ...
    (microsoft.public.access.formscoding)
  • API Open Dialog. What if user cancels
    ... strCustomFilter As String ... Const ahtOFN_OVERWRITEPROMPT = &H2 ... Optional varTitleForDialog As Variant) As Variant ... Dim strFilter As String ...
    (microsoft.public.access.formscoding)