nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

deleting records

Von: susan (vdb@hotmail.com) [Profil]
Datum: 03.07.2008 14:02
Message-ID: <94f5d$486cbfdb$524b37b6$11507@cache2.tilbu1.nb.home.nl>
Newsgroup: it.comp.lang.visual-basic
Hi,

i have a connection to an access-database which works fine. Now I want to
delete all records of a table by clicking a commandbutton. I know I have to
use a loop, but I don't get it working...

Private Sub Command1_Clcik()
Adodc1.RecordSource = "TREX"
' delete all records of this table
' fieldnames are "ID", "Name" and "Title"

End Sub

Thanks,

susan




[ Auf dieses Posting antworten ]

Antworten