Thanks for the reply, i've started al over again and noticed the following:
I have a query like:
SELECT id, name, groupID from da_users ORDER BY name
Now if I open de dialog to create a dynamic ARRAY it changes id into ID and name into Name. After clicking ok it also writes ID and Name into the code.
When I adjust the code into name and id (lowercase) everything works fine. Even when reopening the dynamic array dialog it displays the record in lowercase as in the query.
I'm glad that i found it so I can pay attantion to it, it's just a litle bug in the dialog.
Thanks for helping me on my way, it's a great tool. I'm used to asp.net and now learning php so this sort of tools gets me on my way quickly!