Advertisement

06.11.2008 at 06:58AM PDT, ID: 23475782
[x]
Attachment Details

using access to manage a time based loop

Asked by Rance_Hall in Microsoft Access Database, Access Architecture/Design, Access Coding/Macros

I have three access 2007 databases one houses the data and a second houses all the forms, code, etc for a custom app and using linked tables to connect to data in the first database.

Enter database #3, this guy is also going to connect to the tables in db 1 via linked tables and the reason for this guys existence is to manage an automated import/export process between my custom app and a external commercial app.

The commercial app is programmed to accept csv files in an import wizard that is done manually, all I can do with access is create the *.csv file as a table export and then create a system call to copy the file to the right spot on the network for the custom app to find it.

The commercial app is also programmed to dump csv files out in an autmated fashion.

so this third db will run a system call to check for new exported files, and if there are any, process them and update my database.

my problem is not with the code for the import or export process by problem is triggering the procedures on a time basis.

I *think* I need a loop that sleeps X minutes wakes up, checks to see if there is anything to do, does it if needed, and goes back to sleep for X more minutes and starts again.  Yea, this is an infinte loop.

I need help with the time based triggers and getting them done is such a way as to not consume all the cpu resources checking time during the *sleep* cycle.

Im open to suggestions on other ways to do this. so a time based loop is not strictly required.

Thanks all for the help and insightStart Free Trial
[+][-]06.11.2008 at 07:06AM PDT, ID: 21760145

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 07:10AM PDT, ID: 21760184

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 07:12AM PDT, ID: 21760195

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 07:14AM PDT, ID: 21760229

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 08:43AM PDT, ID: 21761266

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 09:19AM PDT, ID: 21761632

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Access Database, Access Architecture/Design, Access Coding/Macros
Sign Up Now!
Solution Provided By: cactus_data
Participating Experts: 3
Solution Grade: A
 
 
[+][-]06.18.2008 at 12:26PM PDT, ID: 21816142

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906