Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Still problems with too many copies for report
Message
 
To
09/11/2007 15:25:09
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01268095
Message ID:
01268123
Views:
10
>Hi,
>
>The users don't want to have to change any settings - what they want to do is to check off for example 5 reports (on a picklist grid) and then enter a "3" into a spinner and then just press "Print". This all gets sent to the server to calculate the 5 reports and output them for 3 copies.
>
>What you have suggested though is exactly what they are having to do now until I find a problem - I use the PROMPT and tell them that they have to pick the reports one at a time, enter a "3" (for example" and then press print. They have been complaining bitterly! :-)
>
>Thanks for responding!
>
>Albert

Check Message #1267992
Isn't that your desire now :o)))))))))))))))))

Seriosly.
You use VFP9, so why not try:
**** Assuming that you have what the user choose to print in cursor
**** And the reprt names that you should have run are kept in field named ReportName
SELECT ReportingNames
GO TOP
IF RECCOUNT() == 1
   REPORT FORM (ReportName) TO PRINTER PROMPT
ELSE     
   REPORT FORM (ReportName) TO PRINTER NOPAGEEJECT
   DO WHILE NOT EOF()
      SKIP
      IF EOF()
         REPORT FORM (ReportName) TO PRINTER PROMPT
      ELSE
         REPORT FORM (ReportName) TO PRINTER NOPAGEEJECT
      ENDIF
   ENDDO
ENDIF
NOT TESTED AT ALL!
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform