General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>Oh.. Yes.
>You can cath this error and go ahead.. like
>lnError = 0
>lcOldError = "ON ERROR "+ON("ERROR")
>ON ERROR lnError = ERROR()
>DBSETPROP("table","TABLE","Path")
>IF lnError=1652
>&& Not part of database
>ENDIF
>&lcOldError
>
>I think it will works
>
>>>You can use DBGETPROP("tablename","TABLE","path"). Check return value to empty.
>>>Also see HELP on DBGETPROP() function
>>>Denis
>>>
>>>>How to know if a table allready exist in a database?
>>>>Thanks.
>>Hi Denis,
>>Thanks bu i wantend recieve a error message when the table isnt in the database.Is that possible?
Thanks Denis,
Fine trick.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only