Windows 7 Access 2016
I am a newbie so excuse me if I use the wrong words.
I have a button called "OpenRead" on my "frmStart" form. When it is click I want to open a different form "frmTab_AllBeneficiariesDetails" which has two tabs with subforms. On one of the tbs is the form called "Sub_frmTab_AllBeneficiaries2_Main"
I want to make the subform call "Sub_frmTab_AllBeneficiaries2_Main" to not allow edits. The below code has an error in the third line. I am not calling out correctly the subform. ?????
Code:Private Sub OpenRead_Click() DoCmd.OpenForm "frmTab_AllBeneficiariesDetails", acNormal Me!"Sub_frmTab_AllBeneficiaries2_Main" AllowEdits = False End Sub