|
-
Jan 10th, 2002, 01:13 AM
#1
Thread Starter
Lively Member
help with my database!!!1
ok, here is the next problem i am faced with.
If the user of my app wants to load a new file, i need to delete all the entries within my database table. what would be best way to do that
i was thinking
do while not rs.eof
rs.delete
thanks for all the help everyone
-
Jan 10th, 2002, 01:18 AM
#2
PowerPoster
hi
just use
Code:
delete from tablename
As your query to delette all the records.
-
Jan 10th, 2002, 02:48 AM
#3
hi
He means use a query to delete everything from the table :
'---- Like this - replace tablename with the right tablename tho
dbengine(0)(0).execute "Delete * from tablename;"
Regards
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
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
|