>I am a new user of Foxpro 5.0 and have written several applications for our engineering group with foxpro 2.0 and 5.0 However, I have used the wizards to do most of my programming. I have been reading like crazy to try to get more proficient at programming, and have done a few snippets. However, I need to be able to have a print dialogue come up when the user prints, like the one that normally comes up for most microsoft programs, that gives the options for the print job, and allows the user to select the printer on the network to print to.
>
>Is there a standard code to bring up this dialogue? And if so how can I incorporate it into my program?
>
>I know some of y'all may scoff at such a simple question, but have mercy on us beginners.
>
>thanks, brad
Try SYS(1037). It brings up the page setup dialog where you can specify printer and page settings. In order to print your report use the command REPORT FORM ... which is VFP's reporting command.
Hope this Helps,
Peter
Peter Stephens
Visual Records, Inc.
Lead Programmer for the general purpose record keeping system Visual Records. Written primarily in VFP 6.0 with a little C++.