Hey, i have problem getting something to work. It's like this i have a listbox person and if i click i want to list what is register on that particular person in another listbox. I have something which work, but i have to click a button in order to update the other listbox. I want to update other listbox only by click in listbox person.
Solution right now are like this:
I'm using a temp hidden textbox which contain unique id for a person which is selected. So when i click show person, the hidden textbox get's the unique id and then i do a requery for the query in the other listbox.
Query behind the other listbox:
SELECT PersonFrynse.Personnr, Frynsegode.Beskrivelse FROM Frynsegode INNER JOIN PersonFrynse ON Frynsegode.FryID=PersonFrynse.FryID WHERE (((PersonFrynse.Personnr)=Forms.PersonFrynsegode.Personnr));
Any suggestion?
Pser
Solution right now are like this:
I'm using a temp hidden textbox which contain unique id for a person which is selected. So when i click show person, the hidden textbox get's the unique id and then i do a requery for the query in the other listbox.
Query behind the other listbox:
SELECT PersonFrynse.Personnr, Frynsegode.Beskrivelse FROM Frynsegode INNER JOIN PersonFrynse ON Frynsegode.FryID=PersonFrynse.FryID WHERE (((PersonFrynse.Personnr)=Forms.PersonFrynsegode.Personnr));
Any suggestion?
Pser