|
-
Aug 22nd, 2000, 04:50 PM
#1
Thread Starter
Lively Member
My report was OK the first time I run it from a menu. However when i closed the report and returned to the menu to rerun it one more time. Error message show up "The operation requested by the application is not allowed if the object is closed"
Private Sub MnuOne_Click()
'need to decide the app.path at run time
'Employee.mdb is in WinNt shared drive
DeConn.Conn1 = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\Employee.mdb"
DeConn.Conn1.Open
RptActions.Show
DeConn.Conn1.Close
End Sub
What is my mistake on the above coding.
Best wishes
CT
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|