Dear mitakeet

Thanks for the reply -it helped me a lot.

I have only two questions:

1)How do I find out what to write for oracle in the "establishing

the new connection" row in the code you sent me?

2)If I understand correctly the program establishes a connection

to the DB,executes the sql command and dissconnects.

Is it possible/Where can I change to add more than one

command?

Once again

Many thanks

Jake