Rob,
Ok, I am having problems. New VB programmer wantabe! I have a Access Database (PMEL.mdb). I have a report (TestQuestions) that I want to print from that database.
Ok, I have gotten to this point. Here is my code:
Dim objACCESS As Object
On Error Resume Next
Set objACCESS = CreateObject("Access.Application")
objACCESS.OpenCurrentDatabase filepath:="C:\PMEL.mdb"
objACCESS.Visible = True
DoCmd.OpenReport "TestQuestions", acViewPreview
DoCmd.Maximize
Now Access opens, but the Database does not! It will open the Report if I already have Access open. What the hell am I doing wrong? Thanks!
RichMojo in the Sand Box!
