A
Amateur
I am opening with a command button a Form in a databese like:
Private Sub Abrir_balanzas_Click()
On Error GoTo Err_Abrir_balanzas_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Balanzas BIE30P"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Abrir_balanzas_Click:
Exit Sub
Err_Abrir_balanzas_Click:
MsgBox Err.Description
Resume Exit_Abrir_balanzas_Click
End Sub
How can I change this Do Command that it is insead of opening a Form opening
another Database.
The name of the database which I would like to open is "trading.mdb
Thanks
Klaus
Private Sub Abrir_balanzas_Click()
On Error GoTo Err_Abrir_balanzas_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Balanzas BIE30P"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Abrir_balanzas_Click:
Exit Sub
Err_Abrir_balanzas_Click:
MsgBox Err.Description
Resume Exit_Abrir_balanzas_Click
End Sub
How can I change this Do Command that it is insead of opening a Form opening
another Database.
The name of the database which I would like to open is "trading.mdb
Thanks
Klaus