@Lunatic,

Thanks for taking the time to check my 'crappy' code. I know it needs some refreshments, but I'm a newbie so...

BUt there are some things I don't understand:

- Why has datasetzoeken12 some typed columns? Is this because I created the dataset with the wizard and because it is based on OleDBDataAdapterZOeken1?
- Then you say I add some other columns to the datasetzoeken12, don't I use the same columns as when the dataset was created?
- How would you solve this problem, could you please give me a code example? I don't understand your suggestion stated in your point 2.

I hope you can help me, because I'm getting frustrated on this problem.

Thanks Tom