doctorswamp
Technical User
Have a form with a combo box called Customer. A command button launches a second form which I'd like to show relating to the selected customer.
In more detail, A jobs form with the Customer combo builds up items in a subform. Different jobs may have items for the same customer.
The second form shows all of the items from whatever job for any particular customer but there is no filtering so I have to move to the chosen customer's record to see all his items.
Have tried On Click procedures for the command button on the first form like
strFirstForm = "frmCustomer"
DoCmd.OpenForm strFirstForm, , ,me![Customer]
but they don't work. What's needed?
In more detail, A jobs form with the Customer combo builds up items in a subform. Different jobs may have items for the same customer.
The second form shows all of the items from whatever job for any particular customer but there is no filtering so I have to move to the chosen customer's record to see all his items.
Have tried On Click procedures for the command button on the first form like
strFirstForm = "frmCustomer"
DoCmd.OpenForm strFirstForm, , ,me![Customer]
but they don't work. What's needed?