by imtiyazul haque (2 Submissions)
Category: Databases/Data Access/DAO/ADO
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 29th August 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
drop table with VB
API Declarations
dim y as new ADODB.Command
private sub command1_click()
set y=new ADODB.Command
y.CommandText="drop table imtiyaz"
y.ComandType=adCmdText
set y.ActiveConnection=x
y.Execute
msgbox"dropped"
end sub
private sub form_load()
x.open "ss","imtiyaz","vicky" 'dsn name,login id,password respectively
end sub