This has got to be easy but I have tried lots of ways to get it done...
I have two forms, "SPBookings" field[ID], and "Find Bookings Form" with field (lookup field) [Booking ID] and my macro, on button click located on SP Bookings. This does fine to open and filter records. The macro has a filter on load event
Find Bookings form, Form, , ="[BookingID]=" & [ID], , Normal
The SPBookings form field [ID] equals [Booking ID] when I open the "Find Bookings Form"
I would like to click on a button on my main nav form, to open the SP Bookings form, and then open and display records on the "Find Bookings Form" related only to the SPBooking [ID] Field.
DoCmd.OpenForm "SPBookings"
Then I tried
DoCmd.OpenForm "Find Bookings Form", , , "BookingID" = "ID"
and many other combinations but no luck Thanks in advance!
oh and both fields are number fields long integer if that helps

I have two forms, "SPBookings" field[ID], and "Find Bookings Form" with field (lookup field) [Booking ID] and my macro, on button click located on SP Bookings. This does fine to open and filter records. The macro has a filter on load event
Find Bookings form, Form, , ="[BookingID]=" & [ID], , Normal
The SPBookings form field [ID] equals [Booking ID] when I open the "Find Bookings Form"
I would like to click on a button on my main nav form, to open the SP Bookings form, and then open and display records on the "Find Bookings Form" related only to the SPBooking [ID] Field.
DoCmd.OpenForm "SPBookings"
Then I tried
DoCmd.OpenForm "Find Bookings Form", , , "BookingID" = "ID"
and many other combinations but no luck Thanks in advance!
oh and both fields are number fields long integer if that helps