Are you doing a DBConnOpen() before the DBExecuteSQL()?
_________________________
There are two types of vessels, submarines and targets.