Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo field
Message
De
20/09/2005 15:46:17
 
 
À
20/09/2005 13:27:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01051285
Message ID:
01051432
Vues:
16
>thanks for all the good advise.
>
>I store all the receipts in computer so the cashier doesn't have to use 2-ply receipt, it's normal in POS business, the cashier has to keep all the copy of the receipts.
>
>regards,
>
>Jerry
If I understand your problem correctly, you want to print the receipt and at the same time generate a copy which you can store in a memo field.

I tend to think that isn't necessary as long as you can regenerate the print image from the data in the file.

However, you know your requirements better than I so..........
The following old fashioned approach may not be best, but it should work well and mean little change to the code which prints the receipt.
........    main body of code     .........

* We're about to start printing the reciept so insert the following
SET ALTE TO receipt
SET ALTE ON

* Run the code to print the receipt

* When the receipt is finished printing insert the following
SET ALTE TO
REPLACE myMemoField WITH FILETOSTR('receipt.txt')
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform