I have a subform setup so that when you double click a record selector it opens a form displaying information on that record.
My issue is that when I set the Form.DataEntry within the forms’ properties window it *acts* like it had no effect. I say it acts like it doesn’t because the Msgbox indicates the setting was changed, but the wrong record opens. In fact, regardless on which record you double click the same one opens, which is the first in the record set. Once I comment out the DataEntry code line it works as long as within the forms’ properties window it is set to False. Form.AllowAdditions setting appears to work fine in code.
‘Forms![frmRMA_Repair].Form.DataEntry = False ‘ THIS SETTING DOES NOT WORK IN CODE
‘MsgBox Forms![frmRMA_Repair].Form.DataEntry
Forms![frmRMA_Repair].Form.AllowAdditions = False
I’m setting this in code because this window is called from other places in the project. Sometimes it’s only to add and other times it’s to open a specific existing record.