Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Suppose I have a process where I am printing labels via LABEL FORM xxx NEXT 1000000. As each label is printed the record is marked as having been printed. I am uncomfortable with leaving the success of this entire proces to fate. I need some reliable means of allowing the user to press a key and exit from this process while insuring that the records that have been printed are properly marked.
If the user simply turns off the printer, some of the records that have been marked will not actually have been printed because they were lost in the print buffer.
I have function which returns the empty string attached to one of the lines of my label which marks each record. I could also use this to capture a keypress by the user. The most natural key is the ESC key but I have some difficulty with that key CRASHING the system.
I normally deal with the ESC key in my systems in this manner: ON KEY LABEL ESC *
set escape off
Any rock-solid tried & true methods anyone would like to share ?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement