How to Put the orientation to Landscape in Page Setup?
Hi All,
I put the orientation property for header section as Landscape with:
width & height :11, Report Width : 90, Report Height: 66
and put orientation property for main section as Landscape with:
width : 15, height :11, Report Width : 90, Report Height: 66
and put orientaion property for trailer section as Landscape with:
width : 11, height :11, Report Width : 90, Report Height: 66
and then put the orientation in page setup to Landscape, but when I press the button OK and open Page setup window agian the oreintaion returned to Portrait, and when I print the report the right side of the page appeared blank which make the report imperfect.
How to solve this problem and make the page to appeared landscape not portrait??
Can you please tell me how to specify the Landscape format in system parameters. I am also facing this issue.
The Orientation of my rtf template is 'Landscape' but the report that is getting generated in .xls Format is showing the orientation as 'Portrait'.
Similar Messages
-
i have an ipod touch and i put cds on itunes onmy computer , but i cant figure out how to put the music from the cds on my ipod touch can anyone help me?
ok i select th e music from my music libary and go to file and click sync to my ipod and when it gets to step 3.. it says waiting for changes to be made.. yes the songs play on the itunes .. and no it wasnt the same computer i used last time
-
How to put the form in Query mode
Hello
Please let me know how to put the form or block in Query mode , so that when i run the form it should be in Query mode . I have seen properties of SET_FORM_PROPERTY and SET_BLOCK_PROPERTY but cannot find one
ThanksQUERY mode? Did you mean, that you can only QUERY without changing data.
This is the QUERY-ONLY-mode, which can be started e.g. call_form
this is the help for that topic:
PROCEDURE CALL_FORM
(formmodule_name VARCHAR2,
display NUMBER,
switch_menu NUMBER,
query_mode NUMBER,
data_mode NUMBER,
paramlist_name VARCHAR2);
query_mode
NO_QUERY_ONLY (The default.) Form Builder will run the indicated form in normal mode, allowing the end user to perform inserts, updates, and deletes from within the called form.
QUERY_ONLY Form Builder will run the indicated form in query-only mode, allowing the end user to query, but not to insert, update, or delete records. -
Visa has changed for the purchase of Apple products, i did not know how I put the new MasterCard number to finish the process of buying products Thank you
i have ibad mini
and iphone4
laptop sony
can you sent for me the anserChanging Account Information > http://support.apple.com/kb/HT1918
-
I just purchased an Apple TV. I have a pc running windows 7. It is connected to a router and the router is connected to a wireless router. I connect my iPhone, iPad and apple tv to wireless network but do not know how to put the pc on the wifi network so the Apple TV can do home share.
I don't mean to be facetious but sometimes the simplest things are overlooked. To connect to your library you have to have the computer where the iTunes library is located running and with iTunes open. It also needs to be on the same network. My network is dual band and works with either stream but a friend of mine does not. He has to set the computer and the Apple TV to the same band. Hope this helps.
-
How to put the current timer in the frame
I am doing one application and i am using frame. I want to show the current time( hour and minute). But i don't know how to implement it. Please help me to solve my problem. Below is the sample code of my program. How to put the timer in the bottom part.
//AdminMenu.java
import java.io.*;
import javax.swing.*;
import java.awt.event.*;
import java.awt.*;
public class AdminMenu extends JFrame{
private JLabel lblmenu;
private JLabel lblvideo;
private JLabel lbladmin;
private JButton cmdaddvideo, cmddeletevideo, cmdeditvideo;
private JButton cmdaddadmin, cmddeleteadmin, cmdchangepass;
private Container c;
private GridBagLayout gdlayout;
private GridBagConstraints gdconstraints;
private Color colorValues[] =
{ Color.black, Color.blue, Color.red, Color.green };
public AdminMenu()
super("Administration Menu");
JMenu fileMenu = new JMenu( "File" );
fileMenu.setMnemonic( 'F' );
JMenu openMenu = new JMenu ("Open");
openMenu.setMnemonic('O');
fileMenu.add( openMenu );
JMenuItem exitItem = new JMenuItem( "Exit" );
exitItem.setMnemonic( 'x' );
exitItem.addActionListener(
new ActionListener() {
public void actionPerformed( ActionEvent event )
System.exit( 0 );
} // end anonymous inner class
); // end call to addActionListener
fileMenu.add( exitItem );
// create menu bar and attach it to MenuTest window
JMenuBar bar = new JMenuBar();
setJMenuBar( bar );
bar.add( fileMenu );
setSize(300,250);
setLocation(350,200);
this.setResizable(true);
show();
//---------------------- Main -------------------------------
public static void main(String args[])
AdminMenu app = new AdminMenu();
app.setDefaultCloseOperation(
JFrame.EXIT_ON_CLOSE );
Thanks for helping mee.g. use a thread that invokes new Date() (every minute), format the Date with SimpleDateFormat and print the result String on a Label that you can put on your frame ...
-
How to put the file name in notepad file
dear frank,
how to put the file name in notepad file via power shell. I mean i want to put the file name in that notepad file
for example,
my file name is ABL and in this file data is
02/06/2015,180.00,182.00,176.01,180.50,1575500
02/06/2015,4.20,4.20,4.20,4.20,500
02/06/2015,113.50,113.70,112.91,113.09,157800
02/06/2015,682.01,695.90,682.00,683.19,4250
02/06/2015,213.98,215.00,213.00,214.87,326200
02/06/2015,21.52,21.65,21.52,21.60,4000
02/06/2015,111.00,111.25,108.25,108.91,17100
02/06/2015,52.00,52.00,52.00,52.00,500
and i want to data in this form
ABL,02/06/2015,180.00,182.00,176.01,180.50,1575500
ABL,02/06/2015,4.20,4.20,4.20,4.20,500
ABL,02/06/2015,113.50,113.70,112.91,113.09,157800
ABL,02/06/2015,682.01,695.90,682.00,683.19,4250
ABL,02/06/2015,213.98,215.00,213.00,214.87,326200
ABL,02/06/2015,21.52,21.65,21.52,21.60,4000
ABL,02/06/2015,111.00,111.25,108.25,108.91,17100
ABL,02/06/2015,52.00,52.00,52.00,52.00,500
There are many file like this that i want to be edit
plese tell me how can i do it, i think it is possible via windows power shell.
thanks in advance.Hi
Just for completeness, what version of VB.NET are you using?
Here is a complete project to copy all the files with the added "ABL," at the start of each line. You need to start a new Project with a BLANK default Form1, and replace all of Form1 code with the code below. When you run this project, you
need to use the 2 buttons to set up the ORIGINAL file folder and a folder to place the copies. You need to check if the file EXTENSION is correct (I assumed txt), and check the text to add to each line is correct. Once all is set up you should have a
big red button to start the operation.
NOTE: it is important that you try this out on a copy of some of the files to verify accuracy BEFORE trying on original files. Make sure you have a good back up of the original files before doing anything else.
' new project with default BLANK Form1
' replace all Form1 code with this code
' WARNING: make sure you have a backup of
' any files you use this application to
' operate on.
Option Strict On
Option Infer Off
Option Explicit On
Public Class Form1
Dim OrigFileFolderPath As String = Nothing
Dim CopyToFolderPath As String = Nothing
Dim lab1, lab2, lab3 As New Label
Dim tb1, tb2, tb3 As New TextBox
Dim b1, b2, b3, b4 As New Button
Dim fb As New FolderBrowserDialog
Dim bgw As New System.ComponentModel.BackgroundWorker
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
Me.Size = New Size(731, 300)
With lab1
.Text = "Original Files Folder Path"
.Location = New Point(15, 5)
End With
With tb1
.Width = 560
.Location = New Point(10, 30)
.BackColor = Color.Khaki
.ForeColor = Color.Maroon
.Font = New Font(Me.Font.FontFamily, 12)
.BorderStyle = BorderStyle.FixedSingle
.Anchor = AnchorStyles.Top Or AnchorStyles.Left Or AnchorStyles.Right
End With
With lab2
.Text = "Copy Files to Folder Path"
.Location = New Point(15, 125)
End With
With tb2
.Width = 665
.Location = New Point(10, 150)
.BackColor = Color.Khaki
.ForeColor = Color.Maroon
.Font = New Font(Me.Font.FontFamily, 12)
.BorderStyle = BorderStyle.FixedSingle
.Anchor = AnchorStyles.Top Or AnchorStyles.Left Or AnchorStyles.Right
End With
With lab3
.Text = "File Ext"
.Location = New Point(600, 5)
.Anchor = AnchorStyles.Top Or AnchorStyles.Right
End With
With tb3
.Text = ".txt"
.Width = 80
.Location = New Point(590, 30)
.BackColor = Color.Khaki
.ForeColor = Color.Maroon
.TextAlign = HorizontalAlignment.Center
.Font = New Font(Me.Font.FontFamily, 12)
.BorderStyle = BorderStyle.FixedSingle
.Anchor = AnchorStyles.Top Or AnchorStyles.Right
End With
With b1
.Text = "Choose Original Files Folder Path"
.AutoSize = True
.Location = New Point(10, 65)
End With
With b2
.Text = "Choose Copy Files to Folder Path"
.AutoSize = True
.Location = New Point(10, 185)
End With
With b3
.Text = "DO THE COPY"
.AutoSize = False
.Size = New Size(240, 50)
.BackColor = Color.Red
.ForeColor = Color.White
.Font = New Font(Me.Font.FontFamily, 20, FontStyle.Bold)
.Location = New Point(420, 80)
.Anchor = AnchorStyles.Top Or AnchorStyles.Right
.Visible = False
End With
With b4
.Text = "CANCEL JOB"
.AutoSize = False
.Size = New Size(240, 50)
.BackColor = Color.Red
.ForeColor = Color.White
.Font = New Font(Me.Font.FontFamily, 20, FontStyle.Bold)
.Location = New Point(420, 80)
.Anchor = AnchorStyles.Top Or AnchorStyles.Right
.Visible = False
End With
Me.Controls.AddRange({lab1, lab2, lab3, tb1, tb2, tb3, b1, b2, b3, b4})
With bgw
.WorkerReportsProgress = True
.WorkerSupportsCancellation = True
End With
AddHandler bgw.DoWork, AddressOf bgw_DoWork
AddHandler bgw.RunWorkerCompleted, AddressOf bgw_Completed
AddHandler b1.Click, AddressOf b1_Click
AddHandler b2.Click, AddressOf b2_Click
AddHandler b3.Click, AddressOf b3_Click
AddHandler b4.Click, AddressOf b4_Click
End Sub
Private Sub b1_Click(sender As Object, e As EventArgs)
fb.SelectedPath = My.Computer.FileSystem.SpecialDirectories.MyDocuments
fb.ShowNewFolderButton = False
Dim r As DialogResult = fb.ShowDialog
If r = Windows.Forms.DialogResult.OK Then
tb1.Text = fb.SelectedPath
If IO.Directory.Exists(tb1.Text) AndAlso IO.Directory.Exists(tb2.Text) AndAlso Not (tb1.Text = tb2.Text) Then
If tb3.Text = Nothing Then
redo: tb3.Text = InputBox("Enter the file extension that you want to copy/change", "FILE EXTENSION")
If tb3.Text = Nothing Then GoTo redo
End If
b3.Visible = True
Else
b3.Visible = False
End If
End If
End Sub
Private Sub b2_Click(sender As Object, e As EventArgs)
fb.SelectedPath = My.Computer.FileSystem.SpecialDirectories.MyDocuments
fb.ShowNewFolderButton = True
Dim r As DialogResult = fb.ShowDialog
If r = Windows.Forms.DialogResult.OK Then
tb2.Text = fb.SelectedPath
If IO.Directory.Exists(tb1.Text) AndAlso IO.Directory.Exists(tb2.Text) AndAlso Not (tb1.Text = tb2.Text) Then
If tb3.Text = Nothing Then
redo: tb3.Text = InputBox("Enter the file extension that you want to copy/change", "FILE EXTENSION")
If tb3.Text = Nothing Then GoTo redo
End If
b3.Visible = True
Else
b3.Visible = False
End If
End If
End Sub
Private Sub b3_Click(sender As Object, e As EventArgs)
b3.Visible = False
b4.Visible = True
If Not tb3.Text.StartsWith(".") Then tb3.Text = "." & tb3.Text
bgw.RunWorkerAsync()
End Sub
Private Sub b4_Click(sender As Object, e As EventArgs)
bgw.CancelAsync()
End Sub
Private Sub ReadPWFile(fn As String)
Dim filename As String = My.Computer.FileSystem.GetName(fn)
Dim barename As String = IO.Path.GetFileNameWithoutExtension(fn)
Dim copyto As String = tb2.Text & "\" & filename
Dim line As String = Nothing
Dim lines As New List(Of String)
Using sr As IO.StreamReader = New IO.StreamReader(fn)
Do
line = sr.ReadLine()
If Not line = Nothing Then
lines.Add(barename & "," & line)
End If
Loop Until line = Nothing
End Using
Using sw As IO.StreamWriter = New IO.StreamWriter(copyto)
For Each s As String In lines
sw.WriteLine(s)
Next
End Using
End Sub
Private Sub bgw_DoWork(sender As Object, e As System.ComponentModel.DoWorkEventArgs)
Dim ftc As Collections.ObjectModel.ReadOnlyCollection(Of String) = My.Computer.FileSystem.GetFiles(tb1.Text)
For Each f As String In ftc
If bgw.CancellationPending Then
e.Cancel = True
Exit For
End If
Dim ex As String = My.Computer.FileSystem.GetFileInfo(f).Extension.ToLower
If My.Computer.FileSystem.GetFileInfo(f).Extension.ToLower = tb3.Text.ToLower Then
ReadPWFile(f)
End If
Next
End Sub
Public Sub bgw_Completed(sender As Object, e As System.ComponentModel.RunWorkerCompletedEventArgs)
tb1.Text = Nothing
tb2.Text = Nothing
b3.Visible = False
b4.Visible = False
MessageBox.Show("Finished copying files", "Job Completed")
End Sub
End Class
Regards Les, Livingston, Scotland -
How to put the swf in sub directory
Would you guys let me know how to put the *.swf file which
has *.flv in sub directory other than root.
I've tried many things none of them working.
a regular *.swf are OK. But if that swf file related with
*.flv. that Swf has to be in root directory on the server.
if I put that swf in sub directory such as /swf then it's not
working.
Please, help me out.Hi,
It looks like this is for the certification, so I won't give you that much helpt. But you could use a modern IDE to do what you want, or use ant (http://ant.apache.org/) for building.
/Kaj
Ps. It looks like your classpath is wrong when you try to run the program. -
How to put the alv output into the spool request?
Hi guys,
How to put the alv output into the spool request?
Thanks!Hi
Sending an ALV List screen output to SPOOL
Convert ALV list to PDF and send mails to respective persons
Regards
Pavan -
How to put the background image in Title Window?
Hi,
I'm newbie in flex. I 'm using Flex 4.
Can anyone give me some guidelines on how to put the background image in Title Window?
Is it possible to do this?
Thanks.Hi,
Check the below sample code
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/mx";
s|BorderContainer {
background-image:Embed(source="image/wheres_the_green_rez.jpg");
background-image-fill-mode:clip;
</fx:Style>
<s:TitleWindow width="100%" height="100%">
<s:BorderContainer width="100%" height="100%"/>
</s:TitleWindow>
</s:Application>
Regards,
Anitha -
How to put the trace messages in JSP DynPage
Hi,
How to put the trace messages in JSP DynPage components. What settings I need to do and where do I see the trace log.
Can I also print the values of some variables in trace. If yes, how to achieve this?
Thanks in advance,
Regards,
MadhuHi Madhu,
for NW04 see http://help.sap.com/saphelp_nw04/helpdata/en/e2/75a74046033913e10000000a155106/frameset.htm
as well as
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/using logging and tracing on the sap web as java.pdf
Hope it helps
Detlev -
I loaded my ipad photos from camera and all the pictures sorted by date. I later sync my ipad with my computer and the photos were all reorganized into IMPRT folders an out of date sequence. Any idea how to put the photos back into date files other than reloading all of them from camera?
What version of iPhoto?
Select one and rotate it. Then rotate it back. Does that make it appear?
A much better work flow is the keep the photos after importing. Check the success the import, wait for at least one successful backup cycle then use you camera's format command to reformat the card
LN -
How to put the SQL-statement returned value into the field (as a default)
Hi,
I am using Developer/2000 (Forms Designer) under windows 98.
Please tell me how to put the SQL-statement value (as a default value) into the field before enter-query mode. Noted that I have tried the following ways but still some problems:-
1) Place the SQL-statement into PRE_QUERY trigger in the form/block level.
There is a message box which ask 'Do you want to save the changes?'.
2) Place the SQL-statement before execute enter_query. There is still a
message box which ask 'Do you want to save the changes?'.
Any hints? Thanks. Urgent.solved it!
1) Suppress DEFAULT save message
if form_failure then
raise form_trigger_failure;
end if;
2) Place the default value before enter-query.
Ref: Title='Default value in query field in ENTER_QUERY mode' in designer forum by CVZ
form level trigger
============
WHEN-NEW-ITEM-INSTANCE
=======================
if :system.mode = 'ENTER-QUERY' then
:block.item := 'default waarde';
end if;
3) Suppress the changes whenever leaving the default field.
if :block.item is null then
-- assign statement
end if; -
Infotype 337 - How to put the option SIADAP?
Hi everyone,
I have a limitation, I don´t know how to put the option SIADAP, with the SIADAP roles in Infotype 337 (specific for Public Sector).
Is a development? BADI?Table?
I have a machine with this option already, and other one without, and I need to have it in the last one, but I don´t know how.
Best Regards,
AndreiaHi Donnie, thanks a lot, I belive the solution is in that note, by now I have to look carefully again, and try to understand in the code what miss in my machine. Best Regards
Edited by: Andreia Mendes on Aug 27, 2010 12:22 PM -
Why are my apps changing when i change the orientation from landscape to portrait
Recently, on my ipad mini retina, when i change the orientation from landscape to portrait, the apps change. For example, when i enter a game like impossible and change to landscape to play it and then exit the screen has shifted to either the right or left and shows the first line of the next pages apps. Its kind of like when im in the middle of changing from one page to another but it only changes back to normal when i tough the screen. Im not sure if this has anything to do with the new 7.1 ios but it is becoming really annoying
I know it is not a specific app problem because it happens when i come out of some of my apps, it doesnt happen all of the time, only sometimes. Also if any of you could help me with another issue with the same device, when i connect to wifi/hotspot i get static on the screen, it is very noticable when i show a dark picture or a large amount of the screen is a dark colour but i wanted to know if this was normal with the ipad mini retina. I have seen discussions about this device having problems connecting to wifi but i havent found any discussions on this. Does anyone know could cause this?
Maybe you are looking for
-
I have a JSP page, displaying Employee details(5 attrbutes in total) (code, name, address, telephone, email) And this employee is coming from Employee table, which is having around 50 attributes, and I have one entity class for the employee doing the
-
Paid Invoices are showing up in MRBR report
Hi all, There are some 'R' Block and 'B' block invoices which are already paid by releasing them at the time of payment instead of releasing them in MRBR. But they are still showing up in MRBR report (Release blocked invoices). If an invoice is paid
-
Hello, Here is the scenario: I have a task in a workflow. I have defined possible agents (in task definition) and responsible agents (in WF definition). The task attribute is "General Forwarding Allowed". In the scenario, a responsible agent receives
-
How to change the utilised join for a particular report
Hi, I have a discoverer report which is very similar to a previously developed report. I copied the report and now I want to change the join that is utilised by the new one (Two different joins exist between the two folders being used). How can I do
-
Hi experts, my question is simple: is there a way to "trace" (and see in detail) what is sent through a destination, created inside HCP, and what arrives to the destination service? I've tried to set "Debug" level to these logs: com.sap.core.connecti