View Single Post
  #1  
Old November 13th 08, 12:12 AM posted to microsoft.public.outlook.program_forms
Rod
external usenet poster
 
Posts: 32
Default ADO code with combox box gives errors

I am trying to populate a combo box with records from an Access data table.
I think this is possible using ADO, so I wrote the routine to populate the
combo when the form is opened. Every time I open the form, I get an error
saying "Expected end of statement line3". Line 3 is: "Dim Conn1 As New
adodb.Connection". It is really the first line of code in the Open_Item
function. If I can get by this error, I think I can figure the rest out.

Rod


Ads