Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wrong report is being printed
Message
De
26/12/2003 14:38:28
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
26/12/2003 14:18:29
Thomas Ianuzzi
Information Security Consultants, Inc.
Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00862175
Message ID:
00862177
Vues:
16
>I have an application in which a request for quotation is sent out to a series of vendors using WinFax as a printer.
>
>This is done in a loop where a query is produced, used as a source for a report, and the report is printed.
>
>When the loop is run a number of times I sometimes run into the situation where a vendor receives the report ment for the previous vendor. It would appear that the printing(faxing) is occuring faster that the report can be generated and destroyed - hence the previous report is sent. This seems to be supported by the fact that the query is always correct to produce the ast vendor report when the routine finishes.
>
>Is there a way to destroy the report at the conclusion of my loop to prevent it from being available too early in the next iteration of the loop?

Could it be that the sending of the fax failed for a vendor, and that it retried to send, but meanwhile the new report was created?

I don't know how are you doing this, but you probably need to print to a file somehow, and mark each file with vendor's ID (in the filename, maybe), fax from the file, and then have a way to delete once it's confirmed it was sent.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform