S
Stephen
Hello all,
So I have a simple question we are trying to add a button, so that button
open a new Access DB. I did the test on my pc, the database were on
c:\test.mdb and it's working but in real life the DB is on a share network
drive and the complete path as space. See the following :
Private Sub Commande86_Click()
On Error GoTo Err_Commande86_Click
Dim stAppName As String
stAppName = "msaccess.exe O:/DirFin/Prive/Jane International/Base
Access/stephane.mdb"
Call Shell(stAppName, 1)
Exit_Commande86_Click:
Exit Sub
Err_Commande86_Click:
MsgBox Err.Description
Resume Exit_Commande86_Click
End Sub
How can I replace the space so my DB will open, now it only get
O:/DirFin/Prive/Jane.mdb...
Any help would be appreciated
Best regards
So I have a simple question we are trying to add a button, so that button
open a new Access DB. I did the test on my pc, the database were on
c:\test.mdb and it's working but in real life the DB is on a share network
drive and the complete path as space. See the following :
Private Sub Commande86_Click()
On Error GoTo Err_Commande86_Click
Dim stAppName As String
stAppName = "msaccess.exe O:/DirFin/Prive/Jane International/Base
Access/stephane.mdb"
Call Shell(stAppName, 1)
Exit_Commande86_Click:
Exit Sub
Err_Commande86_Click:
MsgBox Err.Description
Resume Exit_Commande86_Click
End Sub
How can I replace the space so my DB will open, now it only get
O:/DirFin/Prive/Jane.mdb...
Any help would be appreciated
Best regards