B
Benoit
Hi,
I'm trying to write my first vba code that I want to use
to send email via access.
I've found a few example on how to do it... but I got
block at my first line of code. What's wrong in the
following statement:
==================
Private Sub Command0_Click()
Dim db As Database <<< I get "compile error: used-
defined type not defined"
Dim RS As Recordset
Dim strMsg As String
End Sub
==================
I'm calling this from a button on a form.
I'm using Access 2002
thanks
a very beginner
I'm trying to write my first vba code that I want to use
to send email via access.
I've found a few example on how to do it... but I got
block at my first line of code. What's wrong in the
following statement:
==================
Private Sub Command0_Click()
Dim db As Database <<< I get "compile error: used-
defined type not defined"
Dim RS As Recordset
Dim strMsg As String
End Sub
==================
I'm calling this from a button on a form.
I'm using Access 2002
thanks
a very beginner