VBDever
Nov 16th, 2000, 03:09 PM
Help!
I have an application that looks for data files to come into a directory. Once a file enters the directory, its name is checked against a database to see if it has a corresponding executable. If it does, the application kicks off the corresponding 2nd executable.
For example joe.dat kicks off joe.exe
This 2nd execuatable reads the data out of a flat file into a SQL 7 db using ADO.
Here is my problem. When I run the first application it may well kick off up to 10 different 2nd applications because there might be up to 10 different files in the folder. These applications are all updating and appending to the same table in my Sql7 db. I am anticipating record locking issues and watching the system bomb out. does anyone have any suggestions that would let me use what I already have and queue the 2nd applications so that I don't run in to record locking issues?
I have an application that looks for data files to come into a directory. Once a file enters the directory, its name is checked against a database to see if it has a corresponding executable. If it does, the application kicks off the corresponding 2nd executable.
For example joe.dat kicks off joe.exe
This 2nd execuatable reads the data out of a flat file into a SQL 7 db using ADO.
Here is my problem. When I run the first application it may well kick off up to 10 different 2nd applications because there might be up to 10 different files in the folder. These applications are all updating and appending to the same table in my Sql7 db. I am anticipating record locking issues and watching the system bomb out. does anyone have any suggestions that would let me use what I already have and queue the 2nd applications so that I don't run in to record locking issues?