Thank you so much for responding Ron and Piz! I appreciate your input. I am now having trouble with this:
Dim oOutlook As Outlook.Application
Dim oNs As Outlook.NameSpace, oFldr As Outlook.MAPIFolder
Dim omessage As Object
I have similar code, but it is not connecting Access to Outlook. It...
Is there a way to import the body of an Outlook email into an Access table? As email is in html, is it possible to capture data and link it to a table? I would appreciate help!
Hi Zion7,
Thank you for responding. I tried adding the (), then changed the Dim statement to DAO.Database. The value of db is still nothing. I have added Microsoft DAO Object 3.6 Library to the references. I don't know what else to do...
I appreciate any and all suggestions!
When I checked the variable values in debug mode, the sql value is correct, but there is no value for db - nothing (nada) pops up. Consequently, the value for rs is "Nothing". Do you know why?
BTW, thank you for your quick response.
I have used the following code in other apps successfully. It is not working in the present app. I don't know why. Are there any suggestions?
Private Sub Form_Current()
Dim db As Database 'declare a variable that points to the database
Dim rs As DAO.Recordset 'declare a variable that...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.