• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 139
  • Last Modified:

Delete database ???

How do i delete a .mdb file which has record locking infomation file  .ldb ???

0
netcool
Asked:
netcool
  • 2
1 Solution
 
web_crusherCommented:
no need to relate to the ldb
the way to delete mdb is:

data1.recordset.movefirst
do until not data1.recordset.eof
  data1.recordset.delete
  data1.recordset.movenext
loop
0
 
netcoolAuthor Commented:
Web_crusher,

Rearding your example it is to delete records right ? WHat if i want to delete th whole database file ...=>northwind.mdb


netcool
0
 
web_crusherCommented:
if u want to delete a file no matter the extansion use
kill(filename)

IF YOU just want to reset the mdb - open all tables as u seen before and do the
same procedure to all tables!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now