Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a Form -- can it be done?
Message
 
To
07/10/1997 18:42:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00053611
Message ID:
00053642
Views:
23
>I have several pieces of information to be displayed. The numbers being displayed are not fields within a table, but instead are program variables whose values were generated by traversing a table.
>
>I would like to be able to:
>
>1) generate the values
>2) display them on a form
>3) offer the user the option to print out those values as they appear on the form
>
>Is this possible? What does the printout look like? What about shading and colors and such on the form's background? Anything else I would need to know?
>
>and finally... is there a better way?
>
>TIA!
>
>Mark W. Mitchell
>mark@remarkable-systems.com

There are a few ways to print the form:
-Get a Windows screen print utility.
-You can programatically press the print screen key to save the form to the clipboard, append the clipboard into a general field, print a report containing the general field. This works great for VFP 5 but I was unable to get it to work in VFP 3. This solution was on the Universal Thread a few months ago.
-Programatically create a report on the fly that duplicates the contents of the form. Lisa Slater Nichols showed this method at Devcon 96. She has the code on her website http://www.softspoken.co.nz/lisa_fox.htm. This code works for VFP 3 and gives a pretty code representation of the data on the form.
Steve Ruhl
CitiMortgage, Inc.
steven.ruhl@citibank.com Office
Steve@steven-ruhl.com Home
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform