473,804 Members | 3,447 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Data Access Page Orientation

3 New Member
Hi Guys,

This should be quite simple but my brains are being seriously racked.

I have created a data access page as the report I want to generate is 4 pages (too long for a regular report). Access page looks good and works well with my query. The problem is, it will only print off in landscape regardless of how many times I change it to portrait. I have edited it both in Access and Frontpage by editing the actual html document. I have shrinked the width of the text to make it well within portrait page size.

Using Access 2002 on XP which is on a regular network.

Any help would be much appreciated. It an't be that difficult can it?

Cheers
Sep 3 '07 #1
1 1314
ADezii
8,834 Recognized Expert Expert
Hi Guys,

This should be quite simple but my brains are being seriously racked.

I have created a data access page as the report I want to generate is 4 pages (too long for a regular report). Access page looks good and works well with my query. The problem is, it will only print off in landscape regardless of how many times I change it to portrait. I have edited it both in Access and Frontpage by editing the actual html document. I have shrinked the width of the text to make it well within portrait page size.

Using Access 2002 on XP which is on a regular network.

Any help would be much appreciated. It an't be that difficult can it?

Cheers
Try executing the following line of code before Printing the Page:
Expand|Select|Wrap|Line Numbers
  1. Application.Printer.Orientation = acPRORPortrait
Sep 9 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
14675
by: Santah | last post by:
hi I'm new to C++ and I'm currently working on Visual C++ 6.0 I'm trying to open a text file, and read some data from it part of the text file looks like this: --------
3
9250
by: sridevi | last post by:
Hello How to export data from ms-access database to excel worksheet using ASP. mainly i need to export data to multiple worksheets. it is very urgent to us. i have a sample code which works only exporting to single worksheet. but i need to export data to multiple worksheets. it is very urgent to us. so please help me in code.
5
2032
by: middletree | last post by:
I did a search in this forum, as well as at www.asp.faq.com, and MSDN, and would like to know how to use ASP to build a report and create an .xls file as a result. I've seen lots of tutorials that are for developers who know some basics that I don't know. Assuming I know ASP, and can use Excel the normal way, can anyone point me to a tutorial or set of instructions that will get me up and running?
9
2636
by: the_grove_man | last post by:
I guess my question can go in two directions. I create applications that run multiple queries against a database. Generally speaking in the past I have used a Data Control (calling it dat1) making it invisible and have used this whenever i needed it. dat1.databasename = app.path & "mydatabase.mdb" dat1.recordsource = "my query" dat1.refresh
9
9908
by: Sean McKaharay | last post by:
Since no one can answer the following question: I have a issue. I need to create a command line application/or windows application that will take 2 parameters and will print to the default printer without any popups. the first parameter is the html file name(location) second is a switch that will tell the app to print in landscape or protrait. Basicly I when I type in (for example) PrintApp "c:\printthis.html" \L it should print the file...
2
2012
by: onkeypress | last post by:
Hi huys, Need to solve this problem. I need to print an Access Report (3 pages). For the first two pages (pages 1 and 2) they are in portrait orientation. For the last (page 3) page, it is in landscape orientation. How do I programme the report? I tried using the Printer.Orientation properties but it doesn't work. I need to show the 3 pages in its correct orientation in a single Print Preview Window. Thanks in advance.
0
1278
by: matvin | last post by:
When generating .NET Crystal Reports with Page Orientation as Landscape, a Blank page gets generated along with the report. But this is not the case when the page orientation is set with Portrait.Any help on this?
0
1527
by: brett | last post by:
Hi, I need to build a pdf report by using Crystal report which including several subreport. The problem is that the primary page orientation is portrait and some subreports' orientation is landscape. I cannot find a way to set subreports' orientation in Crystal report. Is there an solution for this problem? Thanks in advance!
2
1193
by: MSCTC | last post by:
Hi Guys, This should be quite simple but my brains are being seriously racked. I have created a data access page as the report I want to generate is 4 pages (too long for a regular report). Access page looks good and works well with my query. The problem is, it will only print off in landscape regardless of how many times I change it to portrait. I have edited it both in Access and Frontpage by editing the actual html document. I have...
0
9711
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9166
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7631
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5529
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5667
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.