Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not printing whats in preview
Message
De
17/11/1999 13:53:25
 
 
À
17/11/1999 13:47:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00292034
Message ID:
00292053
Vues:
28
>I am not using a REPORT...FOR condition to show my report. Here is all the code in my print button. oApp.printc is just an application variable that I use on all my forms. It stores the record that the user is on and shows that record on the preview screen.
>
>*print only the information that the user is on
>oApp.printc = recno()
>
>*preview the report and allow the printer to be changed
>=sys(1037)
>report form \lcc\reports\assignment.frx record oApp.printc preview
>
>Does preview have a problem with this when print is used from it?
>Thank you,
>
>Tyler

You could eliminate the SYS(1037) call by doing this:

REPORT FORM ... PREVIEW PROMPT

This will only ask what printer you want if they select print from the preview.

Essentially, you still are attempting to print only a subset of records (your RECORD oApp.printc). Try the above and if that doesn't work, do a SELECT of just that one record into a cursor and print the cursor.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform