You might also want to consider to switching to a purely SQL-based interaction with the database, e.g. via DBCommand().
_________________________
There are two types of vessels, submarines and targets.