I have a CurDir() question about MS Access: Thusfar I have used the following sub:
But Access keeps telling me that it cannot find the Project or Library and this is the structure of my database:
MultiMedia.mdb
This MDB contains everything but the forms and is considered the Front End
MuMedFront.mdb ----- MuMedFront.mdb ----- MuMedFront.mdb
These MDBs contain the back ends of including the forms and they are all linked to the Front End.
When opening a new instance of MuMedFront.mdb I get all kinds of error messages and I am puzzled in how to solve them. This is the first message and it takes place in CurDir()
I know that the library must be linked to the Database but its a riddle to me how to do that. I did already copy the whole thing to the new Database.
_________________________________________________________
Beauty resides in the eye of the beholder
But Access keeps telling me that it cannot find the Project or Library and this is the structure of my database:
MultiMedia.mdb
This MDB contains everything but the forms and is considered the Front End
MuMedFront.mdb ----- MuMedFront.mdb ----- MuMedFront.mdb
These MDBs contain the back ends of including the forms and they are all linked to the Front End.
When opening a new instance of MuMedFront.mdb I get all kinds of error messages and I am puzzled in how to solve them. This is the first message and it takes place in CurDir()
Code:
Private Sub Form_Load()
DoCmd.Maximize
' Ingebouwde werkbalken verbergen.
DoCmd.ShowToolbar "Formulierweergave", acToolbarNo
DoCmd.ShowToolbar "Web", acToolbarNo
DoCmd.ShowToolbar "Database", acToolbarNo
dxProgDir = CurDir() <----!!
ixBreed = Me.Width
End Sub
I know that the library must be linked to the Database but its a riddle to me how to do that. I did already copy the whole thing to the new Database.
_________________________________________________________
Beauty resides in the eye of the beholder