td,
Thanx for the hints, will go take a look at the Tech DB. Not sure how much simpler I can make the above procedure. The two data conversions are handled by an external program that can be called by WB.
The two SQL situation are...
MySQL ... login and call "myStroredproc" and exit
MS-SQL ... login and pass a single "SQL UPDATE" command and exit
Nothing more involved at this time... if this all works its another copy of WB+Compiler, otherwise it won't be....

Keith