P
PSH
I have a main form that has a subform (continous form). Each line in the
subform has a button that opens the detailed information for the specific
project:
Private Sub Kommandoknap49_Click()
On Error GoTo Err_Kommandoknap49_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frm03SubformProject01"
stLinkCriteria = "[ProjectID]=" & Me![PID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Kommandoknap49_Click:
Exit Sub
Err_Kommandoknap49_Click:
MsgBox Err.Description
Resume Exit_Kommandoknap49_Click
End Sub
How can I force frm03SubformProject01 to open in the same control on my main
form? Like you see on websites using frames? As it is now, the detailed
subform opens on top of my main form. Thanks in advance!
Per
subform has a button that opens the detailed information for the specific
project:
Private Sub Kommandoknap49_Click()
On Error GoTo Err_Kommandoknap49_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frm03SubformProject01"
stLinkCriteria = "[ProjectID]=" & Me![PID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Kommandoknap49_Click:
Exit Sub
Err_Kommandoknap49_Click:
MsgBox Err.Description
Resume Exit_Kommandoknap49_Click
End Sub
How can I force frm03SubformProject01 to open in the same control on my main
form? Like you see on websites using frames? As it is now, the detailed
subform opens on top of my main form. Thanks in advance!
Per