>Hi,
>
>The code comes from a program in which people can open any table. Then I put that table in a database and create a view of the fields they want to see. Then show the view in a grid and let the people change the data (or even delete a record in the grid) then I want to update the chosen table with the changes and pack it to delete records if needed. In the end get the table out of the database and delete the database.
>
>So everything is variable. That's why the code looks so strange. (And maybe that's why it doesn't work properly.
>
>Any more ideas to make this one good?
>
>Greetings,
>Ron
Many really. First and simpliest, I think, why there is a need for a view in between at all.
Cetin