Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Run Time Error 91

    Thanks to you guys! I was able to figure it out last night. I forgot to put "NEW" before ADODB.Recordset.

    I appreciate your help. I am just new in writing...

  • RE: Access 2003 adp: Run-time error ''91'': Object variable or with block variable not set

    Private Sub Form_Load()

    Dim cnThisConnect As ADODB.Connection

    Dim rcdCompanies As ADODB.Recordset

    Set cnThisConnect = CurrentProject.Connection

    rcdCompanies.Open "tblCompanies", cnThisConnect, adOpenKeyset, adLockOptimistic

    rcdCompanies.AddNew

    rcdCompanies![CompanyName] = "Winthrop Brewing Companies"

    rcdCompanies![Address] = "155 Riverside Ave."

    rcdCompanies![City] = "Winthrop"

    rcdCompanies![StateOrProvince] = "WA"

    rcdCompanies![PostalCode] = "98862"

    rcdCompanies![PhoneNumber]...

Viewing 2 posts - 1 through 2 (of 2 total)