'--connection disini
  cmd.CommandText = "DELETE FROM tbl_brg"
  cmd.CommandType = addCmdText
  cmd.Execute
  Conn.CLose
   
  ado_tbl.refresh
  

7linuxs <[EMAIL PROTECTED]> wrote:
          halo kk2 master VB, saya mau tanya nich, macam mana kalo saya mau 
delete data 1 tabel ?

contoh:

ado_tbl.recordsource = " select * from tbl_brg"
ado_tbl.refresh
with ado_tbl.recordset
.delete
end with

contoh di atas kan utnuk delete 1 data aja kan? nah, saya mau tanya mau delete 
semua data atau 1 tabel dikosongkan dari data.

kalau di dBASE command nya "zap"

thx atas perhatian dan bantuannya

best regards
Roan

[Non-text portions of this message have been removed]



                         

       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
       
---------------------------------
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.

[Non-text portions of this message have been removed]

Kirim email ke