Hi there, 
I've a bit problem with connecting to my backend database on server.
I've a form that read's backend path to hidden text field with openargs in onload event. Then I've "OpenBackEnd True" code when form opens and "OpenBackEnd False" when form closes. I use code below:
But when I try to connect to database, there comes this error message:
So if you gurus have any suggestions what I should do to make this right, please I'm glad to read your replies and all are approciated a lot. Thanks for advance...

I've a bit problem with connecting to my backend database on server.
I've a form that read's backend path to hidden text field with openargs in onload event. Then I've "OpenBackEnd True" code when form opens and "OpenBackEnd False" when form closes. I use code below:
Code:
Public Sub OpenBackEnd(X)
On Error GoTo Err_Handler
Dim dbOpen() As DAO.Database
If X = True Then
Set dbOpen(X) = DBEngine.Workspaces(0).OpenDatabase(strFullBE, False, False)
Else
dbOpen(X).Close
End If
Exit_Handler:
Exit Sub
Err_Handler:
MsgBox Err.Description
Resume Exit_Handler
End Sub
But when I try to connect to database, there comes this error message:
Code:
Subscript out of range.
So if you gurus have any suggestions what I should do to make this right, please I'm glad to read your replies and all are approciated a lot. Thanks for advance...
