Hi,
Have an application which kicks off a job performing a number of steps. The user clicks on a button on an ACCESS form. The problem I need to resolve is, how do I let the user know the job has completed. The job takes anywheres from 30 secs. to a minute. He cannot start his next process until this is complete because the data is getting loaded in this job. I realize I could take the other job and combine it, but it is cross servers, 2 different databases. The other database is actually an MDB. I could use this method in a lot of other areas as well. Telling the user to wait a minute does not cut it.
I was thinking of creating another table and setting a status field to RUNNING when I clicked on the button and then have the last step of the job update it to complete. I could then have the database (which started the job), keep checking every 5 seconds to see if the status has changed to complete using the timer interval. That seems to be a little crazy but it is better than the current method.
Anybody have any suggestions? I would appreciate it.
Have an application which kicks off a job performing a number of steps. The user clicks on a button on an ACCESS form. The problem I need to resolve is, how do I let the user know the job has completed. The job takes anywheres from 30 secs. to a minute. He cannot start his next process until this is complete because the data is getting loaded in this job. I realize I could take the other job and combine it, but it is cross servers, 2 different databases. The other database is actually an MDB. I could use this method in a lot of other areas as well. Telling the user to wait a minute does not cut it.
I was thinking of creating another table and setting a status field to RUNNING when I clicked on the button and then have the last step of the job update it to complete. I could then have the database (which started the job), keep checking every 5 seconds to see if the status has changed to complete using the timer interval. That seems to be a little crazy but it is better than the current method.
Anybody have any suggestions? I would appreciate it.