Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I detect print option from preview window
Message
From
04/07/2008 01:04:00
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
01328556
Message ID:
01328937
Views:
7
Hi Stuart,

where do you implement?
Result := _VFP.SetVar('llPrinted', SYS(2040)="2")
the line after report form ?

Result is .NULL., because _VFP.SetVar returns .NULL., so there is no need the ask for it's return

AFAIK You can not ask SYS(2040) after the report

Agnes
>Tried this but value returned is null
>
>
>
>set reportbehavior 80
>
>llPrinted := .F.
>
>report form myreport to printer prompt preview
>
>Result := _VFP.SetVar('llPrinted', SYS(2040)="2")
>
>
>
>
>Any other ideas
>
>Anges, Could not get your code to work either
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform