silentwolf
Well-known Member
- Joined
- May 14, 2008
- Messages
- 1,216
- Office Version
- 2016
Hi guys,
I got following code to open a database within a form.
Unfortunatelly I am not able to open the file.
The reference is ok as I am using the same code to reference tables within the selected database..
Thanks for looking!
I got following code to open a database within a form.
Unfortunatelly I am not able to open the file.
The reference is ok as I am using the same code to reference tables within the selected database..
Code:
Private Sub lstDateien_DblClick(Cancel As Integer)
Dim dbsExtern As Database
Set dbsExtern = OpenDatabase(CodeProject.Path & "\" & m_strDatei, , True)
[COLOR=#ff0000]'Methode or dataobject not found[/COLOR]
[COLOR=#ff0000]dbsExtern.Visible = True[/COLOR]
End Sub
Thanks for looking!