Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stopping a process that is taking so long
Message
De
06/01/2005 15:45:25
Jean Haidar
Arkansas Blue Cross/Blue shield
Little Rock, Arkansas, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Stopping a process that is taking so long
Divers
Thread ID:
00974828
Message ID:
00974828
Vues:
43
we have a class with a Method Name "calreports" that is taking so long sometimes.
see code below
is there any way we stop it from running if it stakes more than 60 seconds??

Any help would be appreciated!!


IF VARTYPE(loXMLObject) = [O]

* The following call to the method CallReprots() should be ended if it takes more than 60 sec.

lnRetVal = THIS.callreports(loXmlObject,loProposalRecord.Prop_ID,llCover,llUwInfo,llQuote, llFinalRate, llAlgorithm, llAlgoDetail, llLOB, llSchedule, llApp, .F.,cPrintOption,cFileName,lcSendMail,lcUserName)

*-- More code in here..

ENDIF


Thanks,
jhhaidar@sbcglobal.net
Jihan Haidar
Software Engineer
jhhaidar@sbcglobal.net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform