Of course there's an error...your select command is not written correctly. This is what it looks like to SQL:
SELECT [ID]+" "+[Magasin]+" "+ [qtyonhand] AS IMQ from stocks where ID like %@txt%
You need to look at a SQL reference and see how to write a proper SQL Select statement. Why did you put in +\" \"? Where in the world did you see that. And please, start using proper naming conventions. When you add a control, change it's name to reflect what it is and what it holds. Take a look here: Naming convention[^]