walter01
20th February 2004, 11:26
Hi everyone,
I'm writing a script that drops en re-creates a list of tables.
When I try to db.drop a table that doesn't exist, I get the Error 506 BW message window and the script stops. How can I make the script check the existance of the table before dropping it ?
Checking the return value of for example db.first doesn't work sinds the script stops with error 506 before I can process any return values.
Any sugestions ?
Walter
I'm writing a script that drops en re-creates a list of tables.
When I try to db.drop a table that doesn't exist, I get the Error 506 BW message window and the script stops. How can I make the script check the existance of the table before dropping it ?
Checking the return value of for example db.first doesn't work sinds the script stops with error 506 before I can process any return values.
Any sugestions ?
Walter