G
Guest
Good Day All,
I have a command button to open my frminvoices in read only mode:
** Begin Code **
DoCmd.OpenForm FormName:="frmInvoices", WindowMode:=acDialog,
OpenArgs:="ReadOnly"
** End Code **
and the following code within my frminvoices:
** Begin Code **
If Me.OpenArgs = "ReadOnly" Then
Me.RecordsetType = 2
End If
** End Code **
Everything is working fine in order to provide read only on the form, but
the subform: frminvoicedetailssubform is still able to be edited? How can I
make this read only as well?
Thanks,
Brook
I have a command button to open my frminvoices in read only mode:
** Begin Code **
DoCmd.OpenForm FormName:="frmInvoices", WindowMode:=acDialog,
OpenArgs:="ReadOnly"
** End Code **
and the following code within my frminvoices:
** Begin Code **
If Me.OpenArgs = "ReadOnly" Then
Me.RecordsetType = 2
End If
** End Code **
Everything is working fine in order to provide read only on the form, but
the subform: frminvoicedetailssubform is still able to be edited? How can I
make this read only as well?
Thanks,
Brook