R
redFred
I get error 2455 expression has invalid reference to property form/reprort.
I've tried:
Forms![frm1 Client]. _
Form![Reservationfrm]. _
Form![Jobfrm]. _
Form![Invoicefrm]. _
Form!txtHoldFocus.SetFocus
Also:
Me![Reservationfrm]![Jobfrm]![Invoicefrm].Form!txtHoldFocus.SetFocus
The code is attached to a button on the main form. I am attempting to add a
record at Invoicefrm using ".Form.AllowAdditions" and some other stuff, but I
cannot get the focus to Invoicefrm or a control on the form.
Can anyone see what I am doing wrong?
I've tried:
Forms![frm1 Client]. _
Form![Reservationfrm]. _
Form![Jobfrm]. _
Form![Invoicefrm]. _
Form!txtHoldFocus.SetFocus
Also:
Me![Reservationfrm]![Jobfrm]![Invoicefrm].Form!txtHoldFocus.SetFocus
The code is attached to a button on the main form. I am attempting to add a
record at Invoicefrm using ".Form.AllowAdditions" and some other stuff, but I
cannot get the focus to Invoicefrm or a control on the form.
Can anyone see what I am doing wrong?