How Do I Print my reports Horizontally using Coldfusion Report Builder
Hi-
I want to print my reports Horizontally rather vertically using Coldfusion Report Builder. I am using a very simple query
SELECT
Zones.Zone_id,
Zones.Zone_name,
Count(employees.cnic) as Employees
FROM Zones, Employees
WHERE Zones.zone_id=Employees.zone_id
GROUP BY Zones.zone_name
Or say Daily/Monthly Zone Sale with Zones in Rows and Dates/Months in Columns
Thanks
Tayyab Hussain
Have a look at my response to your post in the Report Builder sub-forum.
Similar Messages
-
How can I print a report in JDev 11g TP4
I am using JDev 11g TP4 .. in ADF application how can I print a report?
Thank you
Sameh ShokryYou do file->print from your browser's menu I guess.
There is also this:
http://one-size-doesnt-fit-all.blogspot.com/2008/03/creating-printer-friendly-jdev-adf.html -
How Can I print Oracle Report 9i directly To Printer on the local network?
Dear All;
How Can I print Oracle Report 9i directly To Printer on the local network?
or to any other computer ? or to my default printer without prevoiues know the printer name i mean found it in my connected printer?
plear help me?
Best Wishes1. Check documentation for DESNAME and DESTYPE
2. See 1 as long as they are a shared resource
3. Think you must know the name, but please check or documentation
Regards,
Martin
PS. There's a Reports Forum here which would be a better option for posting this question -
How can I print from my iPad using AirPrint?
I have an HP6500 printer connected to an Ethernet port of my wifi router. How can I print from my iPad using AirPrint?
Your printer may not support Airprint. Attached is a how to from Apple for Airprint. If you click on the link for HP supported printers, the HP 6500A is listed, not the HP 6500.
http://support.apple.com/kb/HT4356 -
How do you construct a web form using coldfusion??
How do you construct a web form using coldfusion?? any
examples?
thanks in adv.A sample Form:
<cfform action="CCARProc.cfm"
enctype="multipart/form-data" method="post" name="CCAR"
onsubmit="return verify()">
<table width="730" border="0" cellpadding="2"
cellspacing="1" align="center" class="unnamed1">
<!--DWLayoutTable-->
<tr valign="top">
<td colspan="3" bgcolor="#F2F2F2">Name Of
Requester(<font color="red">*</font>)</td>
<td width="402" bgcolor="#F2F2F2"><cfinput
type="text" name="Requestor_Name" size="15" value="#REQNAME#"
maxlength="25" >
MTABT Email(<font
color="red">*</font>)
<cfinput name="Req_Email" type="text" size="8"
maxlength="20" value="#ReqEmail#"
>@mtabt.org</td></tr>
<tr>
<td colspan="3">Requester Telephone #(<font
color="red">*</font>) </td>
<td><cfinput type="text" VALUE="#REQPHONE#"
name="RPhone" size="12" maxlength="12" message="Requester Phone
cannot be blank / Invalid Entry!" required="yes"
validate="telephone"> [e.g. xxx xxx xxxx or
xxx-xxx-xxxx]</td>
</tr>
<tr>
<td colspan="3" bgcolor="#F2F2F2">Facility(<font
color="red">*</font>)</td>
<td bgcolor="#F2F2F2">
<cfselect name="Facil">
<option value="2B">2B </option>
<option value="BBT">BBT </option>
<option value="BW">BW </option>
<option value="CB">CB </option>
<option value="HH">HH </option>
<option value="MP">MP </option>
<option value="QMT">QMT </option>
<option value="RI">RI </option>
<option value="TM">TM </option>
<option value="TB">TB </option>
<option value="TN">TN </option>
<option value="VN">VN </option>
</cfselect>
</td>
</tr>
<tr>
<td colspan="3">Department(<font
color="red">*</font>)</td>
<td><cfselect name="Dept">
<option value="Contracts">Contracts </option>
<option value="Engineering">Engineering
</option>
<option value="Executive Office">Executive
Office</option>
<option value="Finance">Finance </option>
<option value="General Counsel">General Counsel
</option>
<option value="HS">HS </option>
<option value="HR">HR </option>
<option value="ISD">ISD</option>
<option value="Legal">Legal </option>
<option value="Labor Relations">Labor Relations
</option>
<option value="Operations">Operations </option>
<option value="Payroll">Payroll </option>
<option value="Planning & Budget">Planning &
Budget </option>
<option value="Procurement & Mtrl">Procurement
& Mtrl </option>
<option value="Purchasing">Purchasing </option>
<option value="Revenue Management">Revenue Management
</option>
<option value="Staff Services">Staff Services
</option>
<option value="SD">SD</option>
<option value="Technology">Technology</option>
</cfselect></td>
</tr>
<tr>
<td colspan="3" bgcolor="#F2F2F2">Division(<font
color="red">*</font>)</td>
<td bgcolor="#F2F2F2"><cfinput name="Div"
type="text" size="20" maxlength="25" VALUE=""></td>
</tr>
<tr valign="top">
<td height="27" colspan="3" >Justification(<font
color="red">*</font>)</td>
<td bgcolor=""><textarea name="Justi" cols="50"
rows="3" wrap="VIRTUAL" ></textarea> </td>
</tr>
<tr>
<td colspan="3" bgcolor="#F2F2F2">VP Approval
By (<font color="red">*</font>)</td>
<td bgcolor="#F2F2F2"><cfinput name="VPAppFName"
type="text" size="20" maxlength="25" VALUE="#VPFName#">
MTABT
Email(<font color="red">*</font>)
<cfinput name="VPE" type="text" size="8" maxlength="20"
value="#VPEmail#" >@mtabt.org</td>
</tr>
<tr>
<td colspan="3" valign="top"
bgcolor="#F2F2F2"></td>
<td colspan="2" rowspan="2" valign="top"
bgcolor="#F2F2F2"><div align="left">
<input name="Submit" type="submit" value="SubmitTheForm"
class="button"
style="font-size='10pt';color='#663399';font-face='Arial,
Helvetica, sans-serif';" >
<input name="Reset" type="reset" value="ReSetTheForm"
class="button"
style="font-size='10pt';color='#663399';font-face='Arial,
Helvetica, sans-serif';">
</div></td>
<td width="90" valign="top"
bgcolor="#F2F2F2"></td>
</tr>
</table>
<div align="right"><span class="style4">Revised(
01.28.05 )</span>
<input name="submitDate" type="hidden"
value="<cfoutput>#DateFormat(Now(),'mm/dd/yy')#</cfoutput>">
</div>
</cfform> -
How Can I print my report through character mode using DOS, very very urgent
Hi all
I would like to print my reports instead of from windows based, I want to print through DOS mode. While giving dos mode printouts report builder is hanging and comming out. Any help will be appreciated.
Thanks
ReddyHi Reddy,
Here is the solution.
At Dos\> ORACLE_HOME\BIN\RWRUN60 <followed by the report name and desired arguments >
srini -
How to develop/print a report wider than 8.5 inches, why cant we landscape
Hi All Gurus,
I am new to Oracle Reports. I have a problem, I have a report that has rows longer than normal A4, A5, A6 paper width, so report lines either tend to go on next page or on next line of the same page. Also Oracle Report is not allowing me to print report in landscape mode, why this limitation ? I am wondering, cuz in older character based tools (Foxpro, Informix-4GL), we could easily print wider reports on a line printer which always had a capacity of 132 characters (and in condensed mode, 224 characters). So only small (and very simple) reports were printed on regular paper of 80 characters (8.5 inches wide), but for almost all real use reports we were able to use 132 (224 in condensed) characters paper.
How can we do this ith Oracle GUI report builder?. Why are we limited to 80 character paper size? why cant we print report in landscape mode? It is not, in any case, allowing me columns that go beyond 80 characters (8.5 inches) on a line. If this is an Oracle limitation, I would say Oracle Reports cannot be used for actual reporting, it is just a fancy with GUI and colors!!!!!
Can anybody answer my questions? please tell me an immediate solution.
Thanks in AdvanceYou can go to Object Navigator, under Layout Model, click the Main Section icon to open the property, change to Width from 8.5 to 11 and Height from 11 to 8.5. Do the same for Header/Trailer Sections if needed.
At report printing, choose Landscape Orientation.
DC -
How do I print multiple reports to a directory at the same time
I'm trying to print a list of monthly reports to a directory by using the code below. The first part of the code runs a query to select Business Units that will receive the reports. The idea is to cycle through this list and print one report for each
Business Unit. These vary from month to month. I create a record set from that query. Where I'm getting stuck is in trying to pass the Business unit selected in the first query to the query that runs the final report. I end up getting multiple
reports with different titles but the content is the same, so I'm doing something incorrect. Here is the code. Any help would be greatly appreciated. QryNewMOR runs the report.
Private Sub Cmd012815_Click()
Dim qdf As DAO.QueryDef
Dim strSQL As String
Dim strPathName As String
Dim blRet As Boolean
Dim rs As DAO.Recordset
Dim stDocName As String
Dim strSavedSQL As String
Dim strBus As String
Dim strExec As String
If Me.Dirty Then Me.Dirty = False
stDocName = "RptNewMOR"
strSQL = "SELECT [Business Unit Long],[Responsible Executive] FROM tblRespExec WHERE (((tblRespExec.SelectedPrint)=True));"
Set rs = CurrentDb.OpenRecordset(strSQL)
If rs.RecordCount < 1 Then
MsgBox "No Bus lines or Execs selected", vbCritical, "Error"
Exit Sub
End If
'CreateFolder "C:\Test MOR"
'store the current SQL
Set qdf = CurrentDb.QueryDefs("QryNewMOR")
strSavedSQL = qdf.SQL
qdf.Close
Set qdf = Nothing
Do
strBus = rs![Business Unit Long]
strExec = rs![Responsible Executive]
Set qdf = CurrentDb.QueryDefs("QryNewMOR")
strSQL = strSQL + Left(strSavedSQL, InStr(strSavedSQL, ";") - 1) & " and (qryNewMOR.[Draft Distribution List]=" & rs![Responsible Executive] & ");"
strSQL = strSavedSQL
qdf.SQL = strSQL
Debug.Print strSQL
qdf.Close
Set qdf = Nothing
strPathName = "C:\Test MOR\" & rs![Business Unit Long] & ".pdf"
DoCmd.OutputTo acOutputReport, stDocName, acFormatPDF, strPathName
rs.MoveNext
Loop Until rs.EOF
rs.Close
Set rs = Nothing
'restore the SQL
Set qdf = CurrentDb.QueryDefs("QryNewMOR")
qdf.SQL = strSavedSQL
qdf.Close
Set qdf = Nothing
End Sub
Dean J. WaringI'm trying to figure out how to combine the two and am obviously not succeeding. Do you have a suggestion on how to make that work?
Hi Dean,
I am not completely sure of what you want. I suppose you want to modify the SQL definition of QryNewMOR, and use that modified query for the report?
In that case, and in the line of your program, I would make a QueryDef: QryStdMOR, with the "standard" strSavedSQL (so: strSavedSQL = QryStdMOR), construct strSQL in the same way, and assign this to the SQL definition of QryNewMOR.
Thus, in your code at the very beginning, skip the line strSQL = strSavedSQL.
strSQL = Left(strSavedSQL, InStr(strSavedSQL, ";") - 1) & " and (qryNewMOR.[Draft Distribution List]=""" & rs![Responsible Executive] & """);"
' skip this line: strSQL = strSavedSQL
qdf.SQL = strSQL
Within the loop you should not start with strSQL = strSQL & ...., because strSQL will retain then its value from the previous loop, and increases and increases...
Finally, I have added some double doublequotes around rs![Resposible Executive], because string expressions must be enclosed by double doublequotes (or eventually a single singlequote).
Imb.
strSQL = strSQL + Left(strSavedSQL, InStr(strSavedSQL, ";") - 1) & " and (qryNewMOR.[Draft Distribution List]=" & rs![Responsible Executive] & ");"
strSQL = strSavedSQL
qdf.SQL = strSQL -
How do i print calendar from icloud using windows 7?
Forgive me if this question is out there and has been
answered – I’m sure it is but I can’t find it.
How do I print a day or series of days of my calendar from icloud?
I have an ipad mini and ipad 2 but I want to print the calendar from icloud
using a laptop with Windows 7.
Any assistance would be greatly appreciated.
ThanksI am tempted to answer that question with one simple sentence - " using printer".
I understand that there is some underlying concern, just can't guess what it is yet. May be you can elaborate... -
How can I print a report twice?
Hi,
I4m trying to print a report twice in the same paper, landscape style. Someone know how can I do it?
Thanks
VeronicaThere is a system parameter called "copies", set it to two.
-
How to select printer for reports 11g?
I just upgraded my forms and reports from 6i to 11g, before printing the reports to printer,
I was using
WIN_API_DIALOG.select_printer(:DESNAME,:PORT,FALSE);to get printer name from network and set :DESNAME.
This didn't work in 11g, what's the alternative function to perform this ?frank1018 wrote:
I just upgraded my forms and reports from 6i to 11g, before printing the reports to printer,
I was using
WIN_API_DIALOG.select_printer(:DESNAME,:PORT,FALSE);to get printer name from network and set :DESNAME.
This didn't work in 11g, what's the alternative function to perform this ?Hello Frank,
Check this Oracle reports 10g output directly to printer
Hope this works..
Hamid -
How do I print a mirror image using os x 10.8
How do I print a mirror image from iPhoto in mountain lion?
according to these wise *****>> AirPlay Mirroring requires a second-generation Apple TV or later, and is supported on the following Mac models: iMac (Mid 2011 or newer), Mac mini (Mid 2011 or newer), MacBook Air (Mid 2011 or newer), and MacBook Pro (Early 2011 or newer).
I will never update again! -
How do I create a kerberos ticket using coldfusion
I have 3 apps on our intra net that require authentication and would like to use kerberos to accomplish this. This is my set up.
users log in to the network and authenticate via active directory (all windows based) , Our web apps are on a box running solaris 10, weblogic app server, cf 9 and oracle 11g. A group of our web apps on this sever require users to authenticate through oracle (not the web / app server).
I can authenticate with kerberos via a putty session on the server with no problems.
USEING COLDFUSION, how do i request a kerberos ticket and pass the necessary credentials to authenticate.?
can this be done.?
I am looking for a CODE SAMPLE OF HOW DO THIS IN A UNIX environment NOT WINDOWS.
I appologize for the frustrated tone of this post. However, after a week of reading documentation til my eyes bleed, to end up chasing my tail with no truly help info............
TIA
JBThis is something your web server should do, not CF. Configure your web server to participate in the Kerberos realm. If WebLogic is the web server (and not just the application server) configure that:
http://download.oracle.com/docs/cd/E13222_01/wls/docs81/secmanage/sso.html
If you have WebLogic configured to use Apache as a web server, configure that:
http://modauthkerb.sourceforge.net/
http://support.microsoft.com/kb/555092
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/ -
How to make changes to .fmx file using the form builder
Hi all
I have a .fmx form in the AR_TOP directory of the Oracle E-business suite.Now I need to make some changes to the form and compile it and place it back .But the .fmx file didnot open using the form builder 6i .So is there any way that i can convert the .fmx to .fmb so that I can open the form using the Form builder 6i??
I have the toad s/w installed but I dont know how to open the form using the Toad.
ThanksI have a .fmx formYou cannot open a fmx-file with any developer tool. To make changes to the source-code you need the fmb-file and open it witj Forms-builder
AR_TOP -directory of the Oracle E-business suiteBe careful when changing source-code in the ebusiness-suite. If its a module from oracle i don't if its supported if you do changes in it.
I have the toad s/w installed but I dont know how to open the form using the Toad.Toad is definitely the wrong tool for forms-modules. -
How to change printer settings in MSWord using Form6.
I'm using OLE2 to print documents from word.
First of all i want to know how to set what tray the printer should use from Form 6.0.
Second, i want to know how to set the Header and footer in Word from Form 6.0.
Here is the source code i'm using:
MyApp := ole2.create_obj('Word.Application');
Documents:=ole2.get_obj_property(MyApp,'Documents');
Document:=ole2.invoke_obj(Documents,'Add');
Pagesetup:=ole2.get_obj_property(Document,'PageSetup');
ole2.set_property(Pagesetup,'TopMargin',i_TopMargin);
v_args:= ole2.create_arglist;
ole2.add_arg(v_args, '2');
ole2.set_property(Pagesetup,'FirstPageTray',v_args);
ole2.destroy_arglist(v_args);
Setting the FirstPageTray isn't working.
Can someone help me??
Regards,
DRJHi ,
As you have mentioned that it is working fine with 2-3 printers try to find the differences of printer
Try with this code:
boReportDocument.Load(Server.MapPath("CrystalReport.rpt"));
PrintOptions boPrintOptions = boReportDocument.PrintOptions;
// The paper size used for this report is '14x7'.
System.Drawing.Printing.PrinterSettings oPrinterSettings = new System.Drawing.Printing.PrinterSettings();
oPrinterSettings.PrinterName = " ";
foreach (System.Drawing.Printing.PaperSize oPaperSize in oPrinterSettings.PaperSizes)
if ("14x7" == oPaperSize.PaperName)
boPrintOptions.PaperSize = (CrystalDecisions.Shared.PaperSize) oPaperSize.RawKind;
break;
CrystalReportViewer1.ReportSource = boReportDocument;
Regards,
Shweta
Maybe you are looking for
-
hi, what happend if i give select statement in end- of- selection. end-of-selection. select XXXX XXXX XXXXX from lfa1 into table itab where lifnr = lfa1-lifnr. could u tell me clearly
-
I downloaded itunes 10.5 and now my ipod wont sync up with it, whats wrong?
i downloaded itunes 10.5 and ever since then my ipod wont get recognised by itunes, how do i fix this?
-
til lthe time i was using the old version of itune my contacts, calender and Notes were sync properly with the Oulook 2010 that i have on my windows 7 machine. Once i upgraded the itune to the latest version my contacts that i modify or create on the
-
Issue in Adding Incoming Payment
Hi, when i am trying to raise the incoming payment i get the error - >"Invoice is already closed or blocked" plz Reply
-
E900 wireless router- slow download speeds
So I have xfinity internet with download speeds up to 25mbps. But according to the online test I'm getting speeds up to 10. I googled online and found that I could disable the WMM but when I tried that it actually made it worse, which i couldn't find