Thanks, it works.
I've got another question, perhaps you know the answer. I made a form and a subform in it. I want to select an item from a list, so that the subform updates. But somehow you can't select an item from the list. You can click on in, but it won't select it.