Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cheesy solution of the week...or Stupid Programmer Trick
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00104032
Message ID:
00104970
Vues:
23
>Isn't this that all problem "the user previews the invoice/check/etc, I want to know if the user also printed it on paper"?
>
>I haven't try your solution, but if it works, it's great! Maybe you want to make it a FAQ here on UT?
>
>Vlad
>
>>I think George want to avoid display a message to ask if the user want to print the report when he just finish to print it!
>>
>>BTW, the AfterCloseTable event fire before the printing when you are in preview and you hit the print button, you can set a variable in this event and check its value in the OpenTable to verify if the user print the report...
>>
>>
>>:0)

This was not born as a 'solution', it's born as a BUG!

I have created a report based on a cursor.
I have put a 'USE IN CursorName' in the AfterCloseTable event.
When i tried to print from the preview ... ERROR!

The cursor was killed!

I turn it in a 'solution' for this thread.

:0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform