Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Records are slipping through the cracks...
Message
De
02/10/2000 14:14:12
 
 
À
02/10/2000 14:08:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00423580
Message ID:
00423591
Vues:
8
>>>Hi,
>>>
>>>I'm using a basic loop to wait for new records to show up in a table. When a new record shows up, I process it and then wait for the next record to show up... sounds simple...
>>>
>>>But some records are slipping through un-detected. So of course, my totals are off. Interestingly, most (but not all) of the un-detected records are added by the same workstation.
>>>
>>>Any ideas why this might be happening? Any suggestions to improve this logic?
>>>
>>
>>Why not add this table to a database and add an Insert trigger to the table?
>>Then when a new record is added, the insert trigger automatically fires.
>
>I just thought of another point... the processing can take some time to complete (up to a full second). So what would happen if another record was added during that second?
>
>TIA

The second one will wait for the first one to get done, then it will fire.
You'll see a message in the VFP status bar or a wait window that says "Attempting to lock...Press ESC to cancel"
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform