Hi is there a way please to open a form from a subform using acFormReadOnly where that subform is present on 2 seperate forms, and on the other form I want it to open with full user rights....
Basically I have a form "frmIng_Spec_Detail_View"
With Subform "subfrmComponenet_list" (i'll get the spelling mistake later)
On this form the subform is locked but enabled.
It has a button which code is currently this:
Anyone have any thoughts how I can make it read only when the subform "subfrmComponenet_list" is locked locked but open normally otherwise?
Cheers
Basically I have a form "frmIng_Spec_Detail_View"
With Subform "subfrmComponenet_list" (i'll get the spelling mistake later)
On this form the subform is locked but enabled.
It has a button which code is currently this:
Code:
Private Sub Command13_Click()
On Error GoTo Err_Command13_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmComponent_Ings"
stLinkCriteria = "[Ing_Comp_Reg_ID]=" & Me![Ing_Comp_Reg_ID]
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command13_Click:
Exit Sub
Err_Command13_Click:
MsgBox Err.Description
Resume Exit_Command13_Click
End Sub
Anyone have any thoughts how I can make it read only when the subform "subfrmComponenet_list" is locked locked but open normally otherwise?
Cheers