Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>George,
>>
>>I had used the Common Dialog control before for setting the Default Printer (Window's and/or VFP) and I just assumed that the FromPage and ToPage would work the same way. Now you tell me that the number of copies value is the same? Oh well, at least I'm forewarned.
>>
>>Thanks again.
>>
>Hi Ed,
>
>No, they'll reflect whatever the user enters, Just set them to the same initial values as Min and Max. However, I don't believe that Windows actually controls the pages sent to the printer.
>
>I did have an idea that might help your problem. The number of labels per page is fixed. Let's assume it's ten per page. You could generate a cursor of the data with an SQL statement, then set a filter on it based on the calculation. For example, if pages 3 through 6 were chosen. You'd set the filter for records 31 to 60. Will that work?
George,
In my case the user could be using almost any type of label design including custom designs. It would take too much calculating from the .lbx file information and then what about the printer's page size? Could have a 12" carriage or something. As it turns out REPORT FORM....RANGE works perfectly. I just ask the user what pages to print (All or Pages from x to y) and then do REPORT FORM either with or without the RANGE clause. So far nobody has needed to print two coppies of the same label <g> but I could always do a LOOP.
Ed
Précédent
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