|
-
Jul 21st, 1999, 10:20 PM
#1
How do I delete all records in an access table while referencing them through a recordset?
Thanks,
Marc
-
Jul 21st, 1999, 10:42 PM
#2
Lively Member
With your connection object:
First connect the connectionobject to the database in question then execute a delete statement:
ConnectionObject.Open
ConnectionObject.Execute("DELETE FROM tablename")
This will delete all the records in the table
HTH,
Preeti
-
Jul 22nd, 1999, 12:01 AM
#3
New Member
Another simple way to do it is to write a delete query in Access with a couple of parameters, then pass the parameters. Make the Database do the work, not the program.
Jason
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|