Hi everyone,
I have 2 listboxs on my form. In one listbox there are names of groups( group is a field in my table) and the other listbox is blank. When i select the names in the first listbox and press the button "Move selected", the selected name go in to the 2nd listbox.
PROBLEM:
I want to open a reprt for only those group names that are selected by pressing a button.
I know there has to be some code to run a query like
Select * from table where ..... (group names are those that are selected.)
Can anyone tell me how to do this?
and wher do i put this code?
I appreciate your help
Thanks
dB
I have 2 listboxs on my form. In one listbox there are names of groups( group is a field in my table) and the other listbox is blank. When i select the names in the first listbox and press the button "Move selected", the selected name go in to the 2nd listbox.
PROBLEM:
I want to open a reprt for only those group names that are selected by pressing a button.
I know there has to be some code to run a query like
Select * from table where ..... (group names are those that are selected.)
Can anyone tell me how to do this?
and wher do i put this code?
I appreciate your help
Thanks
dB