Yes. There is a new function in VFP8 which can determine whether it is previewing or printing. I read it somewhere. Check the Help. If you use <VFP7, I can't tell. :>
Cle
-----Original Message----- From: profox-bounces (at) leafe .D.O.T com [mailto:profox-bounces@leafe.com] On Behalf Of vfpmcp (at) mbsoftwaresolutions .D.O.T com Sent: Wednesday, October 01, 2003 1:43 AM To: profox@leafe.com Subject: VFP Report question
I want to show something in the report when a user is PREVIEWING it, but I don't want it to image when the report goes to the printer. Is that possible? I usually always do the REPORT FORM MyReport PREVIEW TO PRINTER NOCONSOLE PROMPT, so keep in mind that the user can print from the Preview window.
For example, I want to highlight a detail's entire row (using a filled rectangle around the detail items and its PrintWhen logic to conditionally image the filled rectangle to give the "highlight" look) when a certain scenario exists. In particular, if there's a potential error (via flag I set), I want to highlight that row, but only for visual notification to the user, and not when it gets printed.
Any ideas?
TIA, --Michael
Michael Babcock, MCP President, MB Software Solutions http://mbsoftwaresolutions.com "Work smarter, not harder."
Purchases from http://foxtoolbox.com help VFP user groups!! Please check this site out before you decide to buy elsewhere...very competitive and beneficial to our community!!
[excessive quoting removed by server]
©2003 Clement Chin |