Hello ,
I have a little problem with my form. I have two listbox, one for customer and one for engine. When my listbox customer is not in mode multiselect and my listbox is in multiselect mode, it's ok but when i want multiselect for custommer too, it doesn't run.
I select my custommer and i display in my listbox the engine for the customer.
In my listbox, i have this for table/query in contain:
SELECT TypeMachineParClient.Customer, TypeMachineParClient.Engine
FROM TypeMachineParClient
WHERE (((TypeMachineParClient.Customer)=[Formulaires]![MainSwitchBoard]![Customer]))
ORDER BY TypeMachineParClient.Customer;
and this for update my listbox engine when i select an other customer
Private Sub Client_AfterUpdate()
Me.typemachine.Requery
End Sub
I would like when i select for example two customers in my listbox, i would like display all the engine for the two customers.
In " WHERE (((TypeMachineParClient.Customer)=[Formulaires]![MainSwitchBoard]![Customer])) " is for one customer but how can i do if i want two, three Customers
Thanks
Nilses
I have a little problem with my form. I have two listbox, one for customer and one for engine. When my listbox customer is not in mode multiselect and my listbox is in multiselect mode, it's ok but when i want multiselect for custommer too, it doesn't run.
I select my custommer and i display in my listbox the engine for the customer.
In my listbox, i have this for table/query in contain:
SELECT TypeMachineParClient.Customer, TypeMachineParClient.Engine
FROM TypeMachineParClient
WHERE (((TypeMachineParClient.Customer)=[Formulaires]![MainSwitchBoard]![Customer]))
ORDER BY TypeMachineParClient.Customer;
and this for update my listbox engine when i select an other customer
Private Sub Client_AfterUpdate()
Me.typemachine.Requery
End Sub
I would like when i select for example two customers in my listbox, i would like display all the engine for the two customers.
In " WHERE (((TypeMachineParClient.Customer)=[Formulaires]![MainSwitchBoard]![Customer])) " is for one customer but how can i do if i want two, three Customers
Thanks
Nilses