Use ADO:
Create a connection to the database
Execute an UPDATE or INSERT command as you would whenever you run SQL
et voila
Search this forum - there's loads of examples of using ADO. All you really have to change is the specifics for your connection and the SQL you want to run...
Rgds, Geoff
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
Please read FAQ222-2244 before you ask a question