Good Morning,
I have a subform that is linked to a combo box on the master form. I want to be able to add a new record to the subform before there is a corresponding entry in the linked combo box on the main form. I am receiving an error message when I enter the first character on the subform that states "You can't assign a value to this object". Which makes perfect sense. I am attempting to suppress this error message, but all of my attempts have failed. I have tried to add code in the before insert event on the subform that if the error number is 0 then resume next, but am still receiving the error.
Any ideas on how to suppress this error would be greatly appreciated.
Thanks in advance,
Sydney
I have a subform that is linked to a combo box on the master form. I want to be able to add a new record to the subform before there is a corresponding entry in the linked combo box on the main form. I am receiving an error message when I enter the first character on the subform that states "You can't assign a value to this object". Which makes perfect sense. I am attempting to suppress this error message, but all of my attempts have failed. I have tried to add code in the before insert event on the subform that if the error number is 0 then resume next, but am still receiving the error.
Any ideas on how to suppress this error would be greatly appreciated.
Thanks in advance,
Sydney