Though I will most likely not use the code you provided I am a little interseted in how to write SQL statements. I noticed that I got an error when I tried to use your code with my copy of my database that is in .csv format and when I debugged the code this line was highlighted:
db.Execute strSQL, dbFailOnError
was I not supposed to simply copy the code into the program or were there parts that I needed to rewrite to fit my example?
This is a side note though, I really need to fix the code to work with my copy of the database that is in excel format.
db.Execute strSQL, dbFailOnError
was I not supposed to simply copy the code into the program or were there parts that I needed to rewrite to fit my example?
This is a side note though, I really need to fix the code to work with my copy of the database that is in excel format.