outlook -> Access vba question

Associate
Joined
8 Mar 2007
Posts
2,176
Location
between here and there
hi guys,

I'm writing some VBA code in outlook and I'm after a little help.

In access, I have a database called "Customers" with one table within it called "New Customers" This table has 9 fields, first-name, last-name, home number, mobile number, appointment date, appointment time, city and description.

In my outlook code I have 9 filled variables called, lanme, fname, homenum, mobile, apdate, aptime, city and descript. (which are pulled from a FTP site after a email comes in with a certain subject) I like to be able to fill the fields of my database with these variables from outlook.

This is even possible???

Can anyone point me in the right direction??
 
Ok,

So i've created a connection in ODBC, and used the code below to connect to it.

Code:
Set objADOConn = CreateObject("ADODB.Connection")
objADOConn.Open "DSN=ocs"


As I understand it, I'm suposed to use a recordset and a SQL statement. Sad thing is, i have no ideas what either of these are/should be !!!
 
Back
Top Bottom