I have a program in Access that will currently:
1) Import all text files (logs) from a directory into tables
2) Strip the file name for the date and put that date into a field.
3) Do an Instr() function on all tables to determine if they have a certain value. If they do, move those records with the Instr() value into one table. Discard all other transactions.
4) Have all transactions with that Instr() value in one place, as to easily do calculations on it.
My problem is, I'd like to share this program with others, but they may not have MS Access. How would one do such a thing in VB?
I am able to search the directory and put each text file name individually into a variable (using a loop where I would call the import function after each file)
I'm fuzzy on the import and how I would put them into recordsets. There could be anywhere between 1 - 200 of these log files, max file size being around 1mb.
Any help would be appreciated.
I've tried a few import techniques,
1) Import all text files (logs) from a directory into tables
2) Strip the file name for the date and put that date into a field.
3) Do an Instr() function on all tables to determine if they have a certain value. If they do, move those records with the Instr() value into one table. Discard all other transactions.
4) Have all transactions with that Instr() value in one place, as to easily do calculations on it.
My problem is, I'd like to share this program with others, but they may not have MS Access. How would one do such a thing in VB?
I am able to search the directory and put each text file name individually into a variable (using a loop where I would call the import function after each file)
I'm fuzzy on the import and how I would put them into recordsets. There could be anywhere between 1 - 200 of these log files, max file size being around 1mb.
Any help would be appreciated.
I've tried a few import techniques,