Hello,
I have a form where the Allow Edits, Allow Additions, Allow Deletions and Data Entry are all set to NO. I open the form using two different methods from another form, asking for 2 parameters. If the user provides the first (DocumentNum) AND second (EmployeeID) then I open the form as allowing EDITS with the following:
OR if they provide the DocumentNum only then I open it as ReadOnly:
When the form opens as "ReadOnly", the comboboxes are locked and some of the textboxes are locked but the users are able to select and EDIT data in other textboxes, most definitely not the intention. Once one box has been edited the whole form opens as Editable. I do not want them to be able to edit anything when the form opens as ReadOnly.
Please help!
Thanks in advance for any help!!!
I have a form where the Allow Edits, Allow Additions, Allow Deletions and Data Entry are all set to NO. I open the form using two different methods from another form, asking for 2 parameters. If the user provides the first (DocumentNum) AND second (EmployeeID) then I open the form as allowing EDITS with the following:
Code:
DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormEdit, acWindowNormal
Code:
DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormReadOnly, acWindowNormal
Please help!
Thanks in advance for any help!!!