Hi,
I have a form(“Invoice”) with a subform(“InvoiceLines”).
I cannot get what’s wrong. When I open a form from design view everything is ok but when I try to open the same form from another form clicking on command button I receive error:
Error: 2455 - You entered an expression that has an invalid reference to the property form/report
On form open event I have such code:
If IsNull(Me.invoice)=False then
Form_Invoice.InvoiceLines.AllowAdditions = False
End If
I have a form(“Invoice”) with a subform(“InvoiceLines”).
I cannot get what’s wrong. When I open a form from design view everything is ok but when I try to open the same form from another form clicking on command button I receive error:
Error: 2455 - You entered an expression that has an invalid reference to the property form/report
On form open event I have such code:
If IsNull(Me.invoice)=False then
Form_Invoice.InvoiceLines.AllowAdditions = False
End If