thank u LordGarfield...can u tell me how to use the sql code? i tried using 'recordset.open "DROP TABLE tablename, myconnection'
but i am getting the error saying the drop table syntax is not correct..
please help me..
You can use ADOX. Add a reference to Microsoft ADO Ext 2.7 for DDL and Security.
Object Browser will then show the Tables collection has a Delete method.
VBHelp shows an example of it's use
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first
'If we're supposed to work in Hex, why have we only got A fingers?'
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.