Click to See Complete Forum and Search --> : Several Data Report Designer Questions
Rev. Michael L. Burns
Mar 14th, 2000, 10:49 PM
1. How do I design a Data Report in Landscape Mode? It always seems to come up in Portrait and I need landscape.
2. Is it possible to open a data Report in Print Preview as a Midi-child Form and if so, how.
THanks,
Rev. Michael L. Burns
Forest Dragon
Mar 16th, 2000, 05:29 PM
1. The PrintReport method gets a parameter called ShowDialog which tells it whether to show the Print Dialog before printing the report. You can use this dialog to let the user select if he/she wants the report to be printed in a portrait or a landscape mode.
2. Use the same way you turn a form to a MDI-Child form: set the MDIChild property of the Data Report to True.
Good Luck!!!
Rev. Michael L. Burns
Mar 16th, 2000, 09:53 PM
Forest,
Thanks for the info. I can print in landscape and open in print preview in a midi as I wanted but I still cannot design the report (lay out the form with columns, etc) for a 11 by 8.5 page instead of 8.5 by 11. If I could do this I might not need to change page orientation at print time.
Any ideas here. When I try I get a landscape type page but it won't print beyond the with of a normal portrait page.
Rev. Michael L. Burns
Rev. Michael L. Burns
Mar 16th, 2000, 09:53 PM
Forest,
Thanks for the info. I can print in landscape and open in print preview in a midi as I wanted but I still cannot design the report (lay out the form with columns, etc) for a 11 by 8.5 page instead of 8.5 by 11. If I could do this I might not need to change page orientation at print time.
Any ideas here. When I try I get a landscape type page but it won't print beyond the with of a normal portrait page.
Rev. Michael L. Burns
Rev. Michael L. Burns
Mar 16th, 2000, 09:55 PM
Forest,
Thanks for the info. I can print in landscape and open in print preview in a midi as I wanted but I still cannot design the report (lay out the form with columns, etc) for a 11 by 8.5 page instead of 8.5 by 11. If I could do this I might not need to change page orientation at print time.
Any ideas here. When I try I get a landscape type page but it won't print beyond the with of a normal portrait page.
Rev. Michael L. Burns
Rev. Michael L. Burns
Mar 17th, 2000, 03:20 AM
Not sure why my previous reply went out three times but I'm sure stranger things have happened.
AT any rate, I figured out how to do what I needed. It seems that the Data Report designer is dependant on the current default settings of the default printer. If it is in Portrate then you must not exceed the width of the portait size page, even if you include code to change page orintation (I use a DLL called Setprnt).
What I found that I had to do is go into control Panel and change my default printer to Landscape before designing my report in the Landscape layout. After my report was created and saved, I went back to control panel and changed the printer orientation back to Portrait and the all worked fine.
Now when I click the button to print the report the code changes the printer orintation and prints my form fine and then changes back to normal.
Thanks for the help.
Rev. Michael L. Burns
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.