Viewing 2 posts - 1 through 2 (of 2 total)
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...
July 2, 2010 at 11:54 am
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]...
June 30, 2010 at 6:17 pm
Viewing 2 posts - 1 through 2 (of 2 total)