Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Background processing

Status
Not open for further replies.

rickpill

Programmer
Feb 28, 2002
108
US
I need help in setting up a process where a determination is made that a user's Database request is too large for immediate processing and a message to the user , e.g. "Your reqest has been submitted".

If possible a later prompt to the user when it completes on the server.



Thank you,

Rick Pillay
 
rickpill,

What is your criteria for determing a request is "too big"?

fengshui_1998
 
A request that takes over 90 seconds to process.
 
rickpill,

My question then is how do you know it will take over 90 seconds unless you process it. I'm not trying to jerk you around, but you might want to try looking into retrieving only a page full of records at a time.



fengshui_1998
 
fengshui_1998,

No problem ... perhaps I better explain. Here's an example of what they might ask:

All clients who purchased over $10,000 and save all selected
rows as a campaign.

Assuming the result is 5,500 clients - what they're looking for here is not a display of clients, but saved as a file (campaign). The total number will be displayed.

How I think this should work:
. Establish a count of the number of rows
. Display counts - message "Submitted for Campaign processing"
. CREATE THE CAMPAIGN IN THE BACKGROUND.
. Message routed to user, "Campaign processing complete for ...." on completion.

Thanks,
Rick






 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top