PDA

Click to See Complete Forum and Search --> : pleas help me (listbox)


Pieje
Nov 25th, 2000, 01:48 PM
Hi,
First I want to appologize for my bad English,I hope someone will understand me.
I'm creating a new appliction for my company but I'm stuck.
Here is my problem.
So I created a form with a listbox(1) within data based on a table. Then I created another listbox(2) because I have to select several things from listbox(1). So I placed a button on my form and I can add my selected data into listbox(2).
But I also placed a button on it to remove data from listbox(2) in case of I added something wrong. This also works but when I now want to add new data,he also add the data I already removed. And then second thing I want to use the data of listbox(2) as criteria for a query. It works when I use a combobox but not with a listbox.
Iwork with Access97
Can some help me please??

Thx

dlm
Nov 27th, 2000, 03:10 AM
Hi,

When you click on the button to Add your new data to your Listbox(2), do you clear your variables? Because it sounds like some variables you didn't clear out?

And could you give an example of the code you 're putting after your buttons?

No thanks...

DLM