How to delete a Record from DBF files?
Hi,
I try using the ADO to delete a record from a .DBF Files using dBase 5.0 driver but it wont permit on win98,ME but it allows on winXP. what would be the problem?
So... i try using DAO. but with no success. can anybody show me some codes on how to delete a record from a .DBF table?
thanks in advance.
I run .delete generates an error
Thank you very much Frank,
I tried running your code and it gives me this error.
Run-time error ‘-2147467259 (80004005)’:
[Microsoft][ODBC dBase Driver] Cannot update. Database or object is read-only.
i am very new with this technology may be i can give you the DBF files i want to delete a record. By the way, when i use the intrinsic data control i can delete the record from there, but i want to do it with codes. pls help me on this... i just need the delete procedure. I also dont know how to use this variables:
Dim strProvider As String 'name the database provider
Dim strDataSource As String 'let the system know what data source to search in for the database
Dim strDataBaseName As String 'name of the database
Dim strPassword As String 'password, if the DB is protected
Dim strConnect As String
can you please show me a complete coding for a delete procedure? Pls. use the attached files.
Hope to hear from u soon. thank you again!...