Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Asynchronous Object Execution
Message
De
04/05/2005 03:51:01
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01008669
Message ID:
01010679
Vues:
22
Hi Christof,
>I'd use a job table for that. The main program inserts a new record. The servers wait for new record and attempt to lock it. Once a record is locked, the application sends the query, stores the result into another memo field, set a lDone flag in the record and unlocks it. The main application could then scan for records with the lDone flag set to process the results. If a server hangs, the main program can kill it. This automatically releases the lock and the next available server would find the record automatically.

Neat description of my program - right down to the name of "lDone". Only thing you missed was my "tlastupdat" <bg>.

regards

thomas
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform