Visual Basic 6.0 and CR XI report viewer
When running a VB6.0 applications sometimes a runtime error message stop the app.
What is causing this?
Detail Info
Error Message
Basic syntax is not supported on recordformula
Liine code where error occurs
crwRpt.RecordSelectionFormula = SelectionFormula
Code from Report Form
Private crwApp As New CRAXDRT.Application
Private crwRpt As CRAXDRT.Report
Private Sub Form_Load()
Me.WindowState = vbMaximized
Screen.MousePointer = vbHourglass
Set crwRpt = crwApp.OpenReport(wrkPathCrystal & wrkCrystalRptName) 'Format(Rpt, "000.rpt"))
If SelectionFormula <> "" Then crwRpt.RecordSelectionFormula = SelectionFormula
crwRpt.EnableParameterPrompting = wrkCheckParameters
'crwRpt.PrinterSetup hwnd 'Select Printer
crwRpt.Database.Tables(1).ConnectionProperties("password") = "tme001"
CrystalActiveXReportViewer1.ReportSource = crwRpt
CrystalActiveXReportViewer1.ViewReport
'CrystalActiveXReportViewer1.PrintReport
Screen.MousePointer = vbDefault
End Sub
Thanks InAdvance to whom every answer
Still a problem and strange but here is some facts I know
the first time thru this section of code works - the report is viewed .printed etc
this is a new installation of CR 11 - upgrading from CR 8.5
In CR 11 under the Formula Editor - the Crystal or Basic syntax option is disabled
*back to the code
second time thru (But not always) - displays
"Basic syntax is not support in group or record selection formula"
once it starts displaying the error message you have to log out of VB then back on to get it to accept the SelectionForumla
Reports not using a Selectformula from the code works just fine... maybe in paramters
logic works in CR 8.5 - appears to be the same code
CR 11 - of course has a new viewer install
CR11 and 8.5 are install on the same server
VB version SP6
VB is logging into SQL2005
Thanks Again
Similar Messages
-
Crystal Report 10 and Visual Basic 6 - logon failed in crystal report viewe
Guyz,.
Report viewer is showing logon failed, pelase help me, i can able to view the data from rs1(recorset).
please hellp me to fix this issue, i need to pass the sql query to my pre designed Crystal report which has all the field as same as SQL query.
Please suggest me if any other alternate way to do this , my code is below.
Environment : Crystal Report 10, Visual Basic 6
cr_preview -> CrystalActiveXReportViewer
RepName -> Fiename and path of the Crystal report is designed from Crystal Report Designer.
Function show_rep(Sql As String, RepName As String)
Dim crystal As CRAXDRT.Application
Dim report As New CRAXDRT.report
Dim rs1 As New ADODB.Recordset
If rs1.State Then rs1.Close
rs1.Open Sql, cn, adOpenStatic, adLockReadOnly
Set crystal = New CRAXDRT.Application
Set report = crystal.OpenReport(RepName)
report.DiscardSavedData
report.Database.SetDataSource rs1
'cr_preview.Refresh
cr_preview.ReportSource = report
cr_preview.Visible = True
cr_preview.ViewReport
Do While cr_preview.IsBusy
DoEvents
Loop
cr_preview.Zoom 100
If rs1.State Then rs1.Close
Set rs1 = Nothing
Set crystal = Nothing
Set report = Nothing
End FunctionHi,
Please refer to the link for the list of example, [click here|http://pscode.com/vb/scripts/BrowseCategoryOrSearchResults.asp?optSort=Alphabetical&lngWId=1&B1=QuickSearch&txtCriteria=crystalreport+10&blnWorldDropDownUsed=TRUE&txtMaxNumberOfEntriesPerPage=10&blnResetAllVariables=TRUE]
Regards,
Clint -
Error on Visual Basic 6.0 and Crystal Reports 9.2 on XP SO
We need support to resolve an error on a system made with Visual Basic 6.x and Crystal Reports 9.2.
Error '-2147417848 (80010108)'
Automation Error
Not always give these errors.
Often occurs after request two reports followed and SO is XP
When SO is Windows 2000 professional this error not occurs.
These are versions of the products used:
Versión Visual Basic: 6.0.9782
Versión Cristal Reports: 9.2.0.448Hello,
This forum is for community use and is not considered a support site. For assistance you need to purchase a case from our support site. But 9 is no longer a supported version so this is your only place to get assistance.
Try downloading the only patches available from:
ftp://ftp1.businessobjects.com/outgoing/CHF/cr90actxwin_en.zip
ftp://ftp1.businessobjects.com/outgoing/CHF/cr90dbexwin_en.zip
ftp://ftp1.businessobjects.com/outgoing/CHF/cr90devwin_en.zip
ftp://ftp1.businessobjects.com/outgoing/CHF/cr90mainwin_en.zip
Thank you
Don -
Call stored procedure in Visual Basic 6.0 and datatype CLOB
Hi
Has somebody a Visual Basic 6.0 Sample Code which can call the following example procedure.
test_package.getTestdata(
pPeid IN NUMBER,
pReturn OUT NUMBER,
pData OUT CLOB
Many Thanks in advance.
Best regards
Martinhi,
give these links a try:
http://help.sap.com/saphelp_nw04/helpdata/en/7f/c6dc63c54811d194af00a0c94260a5/frameset.htm
and further:
http://help.sap.com/saphelp_nw04/helpdata/en/72/90fd343603c95ee10000009b38f844/frameset.htm -
Microsoft Visual Basic Compiler - MAC and also IPHONE
I work for a company that manufactures traffic calming products. Our software development for the sign has been in Microsoft Visual Basic which is then compiled for the windows environment.
I need to locate a compiler that will hopefully compile it for use on the MAC and also possibly the IPHONE. Many of our customers are looking for a MAC version of the code. It is a simple program that uses bluetooth to communicate to the bluetooth modem in the sign, sending and receiving data and settings.
Thank any of you that can help me with this project. Rich Garrett [email protected] 678-925-3555 www.radarsign.comxnav is right. RealBASIC is a good one to check out. I have a small amount of experience with it, as well as Visual Basic and Liberty BASIC. So, I don't really care for BASIC or any of its variants, but I think that if you to program BASIC on the Mac then RealBASIC is a good way to go. It's similar to Visual Basic, and provides a simple way to build basic (and maybe not-so-basic) apps on the Mac. I'm not sure if it supports iPhone development or not, but it's definitely worth looking into if you need to program BASIC on Mac, and it's the only BASIC-based development environment on the Mac that I know of (there could be more that I don't know of though).
-
WPF Styles and WPF Crystal Reports viewer
Hi,
We are currently developing a WPF application which will utilize Styles created with Expression Blend.
Our environment is VS2010 SP1 and Crystal Reports for VS2010 SP2.
We want to design our reports with Crystal Reports but we don't seem to find any documentation or topics about integrating WPF Styles with the current WPF Crystal Reports Viewer.
So I was wondering if somebody here already tried to use WPF styles with the WPF CR Viewer.
If so, how does it basically work?
Thank you in advance.Hello Alan
This morning I got a short note on the issue from Program Management. In a nut shell this is what they say:
..at this time the WPF viewer doesn't expose support for styles and the best thing will a post
to the idea on [SAP IdeaPlace|SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]. Based on the interest level expressed there the PM group will make a decision on how best to proceed.
Obviously, this is not going to be a swift process, but at least something...
- Ludek -
Project Management and Resource Management Reporting Views
I am wondering if anyone would have and is willing to share some documentation they may have put together around reporting views related to Project Management and Resource Management modules. We are installing the projects suite and I have never done custom reporting out of these modules and would be interested in feedback or documentation anyone may have related to these or any offer of assistance or direction in designing the reporting views.
Thank you in advance!
Matthello Tony,
What I can say. Maybe you should use SAP PPM as a operational Project Management tool and integrate it with WBS elements and projects in SAP PS. Probably it will be the best solution for you.
The second way is to use a second project structure for project management as you wrote, with different number of this project. So you will have 2 structures one for actual posting of costs and the second for rest management needs and statistical posting of costs. Probably you will need CO substitution for posting of costs to post costs on these 2 structures.
There will be many other conditions to get right solution but I think this 2 ways are possible.
Adam -
Passing Array of Srings between Visual Basic and Labview dll
I have searched and searched for the correct way to pass an array of
strings between Visual Basic 6.0 and a Labview 7 dll. So far, I still
do not know how to pass the array. When I create the dll in LV, the
array of strings is presented as a string, not an array. I am familiar
with passing arrays of type double, but I really need to know how to
pass an array of strings. Any and all help is appreciated.
BobHey Bob,
From what I understand, that can get kind of messy. You have to allocate the memory in VB in the format that LabVIEW expects (see the externalcode.h file in National Instruments\LabVIEW 7.0\cintools for details). Then pass a pointer to that location to LabVIEW. There are a couple of related examples online. They don't necessarily show how to pass an array of strings to VB, but they should show how to pass a string and an array. I hope this helps.
Using Microsoft Visual Basic to Call LabVIEW DLLs That Pass String Data Types
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B123AE0CB9B0111EE034080020E74861&p_...
Using Microsoft Visual Basic to Call LabVIEW DLLs That Pass Array Data Pointers
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D9E556A4E034080020E74861&p_...
Regards,
Chris J -
How to edit a WFP application through a Visual Basic command console?
Hi, I'm currently working on a little project of mine, based mostly on a Visual Basic command console, and I've had the idea to add a console-controlled Windows Form.
What the console will eventually do is run, say, 1000 x 1000 [(1,1), (1,2), (1,3)... (574, 349), (574, 350)...] items through into a list, and then these million-or-so entries will use their assigned values as the x and y co-ordinates for
the form, as well as little bits and bobs that will be added as I go along.
Right now, the thing on my mind is this; How do I make, or access, or run, etc. a form, then load this code into it? I've been heading down some reference path with dependents and other stuff and I don't think it's going to carry me anywhere unless I ask
the question directly.
The main plan I have in mind is being to access the controls that a Windows Form has, using the VB console, e.g. Form1.Shape.AddRectangle (x,y) or something.
If this is even possible, which I'm starting to doubt to my dismay, could you give me an absolute, and I mean that from top to bottom, every aspect fleshed out, preferably on the assumption that I don't even know what a file is, detailed walkthrough?
Because I don't want to ask questions to the answers to my question.
Thanks :)Items and bits and bobs doesn't have much meaning to me.
If you want to create a Form from a Console app that is simple. Prior to launching the Form provide whatever you want to it I suppose.
Whatever you attempt to provide to the form may need references added. Therefore you can research that on your own using the
MSDN Library search engine which should keep anybody else from having to perform "top to bottom, every aspect fleshed out, preferably on the assumption that I don't even know what a file is, detailed walkthrough" since if you don't know
anything you should be attempting to learn. And if anything is outside your scope of knowledge that you need to know to do whatever you want to do you should research and learn that. Not ask anybody else to do it for you or provide you baby step instructions
for doing so.
It's possible trying to provide 1000000 items and bits and bobs to a form will fail or your app may not have the memory allocated for doing that. And it's probably a poor idea too.
Option Strict On
Imports System.Windows.Forms
Imports System.Drawing
Module Module1
Sub Main()
Dim f2 As New Form
f2.Left = 10
f2.Top = 10
f2.Text = "Test Form"
f2.Width = 241
f2.Height = 271
Dim PB As New PictureBox
PB.Width = 225
PB.Height = 225
PB.Left = 0
PB.Top = 0
PB.Image = Image.FromFile("C:\Users\John\Desktop\Picture Files\CrossBones PNG.Png")
f2.Controls.Add(PB)
f2.ShowDialog()
Console.ReadLine()
End Sub
End Module
La vida loca -
Migrating Application FROM Visual Basic
Hi Everyone,
I have an application written in Visual Basic (Front End) and SQL Server as the Back End. Now this application should run on the web i.e need to web enable the application.I have coded in Java for sometime now,but I do not have any prior knowledge as to build a Web application from scratch.Can anyone let me know
how to procced.I would like to use open source like JDK for development.Eclipse for IDE.
Thanks,
Supriya.First off let's get VB specific -- Are you using Access as a local database and container for your queries? If you are then read on, otherwise, the information already give is excellent and complete enough to get you well on your way.
1 - You are going to have to conver all of your queries either to SQL and store them in a business layer, or create stored procedures for them on the server. I strongly recomend the stored procedure route to hide any detail of your dataserver as much as possible and supply tighter security for table access.
2 - Your web server is going to be a significant ralleying point for your data and return HTML generation, you should take that into consideration with your IT staff and how it will affect other applications on that server. (It will probably not have sufficient impact, unless you already have your own dedicated server for this application)
3 - As mentioned by the others, the Applet/Servlet or JSP/Servlet configuation will serve you very well for your application. -
Report Viewer shows incorrect data when viewing pages from last to first
Post Author: Fmorales
CA Forum: .NET
Hello.
I've made a huge report with Crystal Reports for Visual Studio 2005, and sometimes the Report Viewer show data with errors.
If I see all pages of my report in order, 1 first, then 2nd, 3, 4... until the last one.... The report is always correct.
If I see all pages in reverse order, 1 first (shown by default), then last one, then last one-1.... until 2nd.. All years show incorrect, except first one...
In an outer section, for every year, there is a final row which shows summarize calculated data. The error consists in that every value of the row is 0.
It seems that Crystal Report calculates while showing, that's good.. but... Why does it ignore the data before when I see directly the last page?? It forces me to see all pages one by one in ascendant order to ensure data is correct.. I must fix that error.
The way I calculate data in the problematic summarize row is a bit complicated, but I'll try... Let's focus in one only column (the other ones are similar). The summarize value is a formula which simply show a global value :
WhilePrintingRecords;
CurrencyVar margenActual;
which is being increasing or decreasing along the group:
WhilePrintingRecords;
CurrencyVar actual:=actual+CurrentFieldValue;
if {PresupPeriodifMesesAux_DS.TIPO} = 'PAGOS' then CurrencyVar margenActual:=margenActual-CurrentFieldValueelse CurrencyVar margenActual:=margenActual+CurrentFieldValue;
DefaultAttribute
It is placed in the backgrond property of a CrossTab cell in a hidden pre-section... Well.. I know it's a bit complicated, but I have to do that way because it was the only trick I found to make a summarize file before printing data summarized (that's why the line "CurrencyVar actual:=actual+CurrentFieldValue;" appeared in formula). So I also wanted to use this formula to acummulate "margenActual".
In the inner section I reset the actual value (this value always go fine):
WhilePrintingRecords;
CurrencyVar actual:=0;
Before end of year I reset the margenActual value:
WhilePrintingRecords;
CurrencyVar margenActual:=0;
I've tried multiple combinations (using WhileReadingRecords instead WhilePrintingRecords) but data is incorrect or I cannot get rid of visualization page's problem....
Any idea?
Thanks a lotquote:
Originally posted by:
ntsiii
If you were previously using <mxXML> you WERE using
e4x.
So remove that tag, create an instance variable of the same
name, typed as xml, and in your result handler, do as VarioPegged
suggests, though I would cast/convert to xml first:
companies = XML(event.result);
trace(companies.toXMLString()); to look at your xml
var xlCompanies:XMLList = xmlCompanies..company; //all such
expressions return XMLList, never XML
trace(xmlCompanies.length()); //
Tracy
Ok so the ID of the mxXML was being interpreted as an E4X
variable at compile time?
I tried changing the name of the ID of the HTTPService call
from "marketData" to "MDATA" and assigning the variable marketData
to the result of the HTTPService query, which if I understand you
correctly should basically make everything work as it was before,
but it seems to be a problem.
when I try to run it puts an exclamation point on this line
<toolbox:TreeMap id="treeMap" width="1200" height="800"
dataProvider="{marketData}"
labelField="@cname" weightField="@amount"
colorFunction="{itemToColor}"
toolTipFunction="{itemToToolTip}"/>
That code refers to a SWC file. Apparently it wants
marketData to be a data provider. If I change the dataProvider
reference above to "MDATA" (the ID of the HTTPService) the App
compiles, but I get two errors at runtime:
TypeError: Error #1009: Cannot access a property or method of
a null object reference.
ReferenceError: Error #1081: Property @age1 not found on
mx.rpc.http.mxml.HTTPService and there is no default value.
What should I change this reference to? It won't compile if I
use the variable I made for the e4x results and it is reading
gibberish if I have it read directly from the
HTTPService....? -
Report Viewer asking for Login credentials on Non-Development PC
I have created several reports within Crystal 2008(using the push method). I run these reports in a VB6 application using the Report Viewer. Reports without sub-reports will run on both the development and non-development PC. If I try to run a report with a sub on a non-development PC it will prompt the user for login credentials.
I can run the same report(with a sub) in development or on a PC with Crystal 2008 and Visual Basic installed. I have created a setup.exe to install this on the pc and included both the Crystal runtime 2008 and Crystal Report Viewer 2008 as prerequisites.
Any help would be appreciatedWe created a form in Visual Studio 2008 that holds the Crystal Report Viewer. We then used Interop to wrap the assembly into a usable reference for the VB6 application.
This was working fine when we were using the pull method for the report but once we changed the code to use the push method reports with subs will ask for a login. No matter what is entered the report will not print to the screen. The reports without a sub will print just fine.
Not sure what to look for next?
Thanks for your quick response. -
Crystal Report Viewer integration with Sharepoint 2010
We had a requirement in our project to view crystal report off an hyper link embedded into sharepoint web part developed using ASP .NET. The report accepted few parameters from the sharepoint page and passed those on to the SQL server to retrive data and
display the data in the report. The challenge was to open the report in the web browser.
The first difficulty was to find the right control to use, the report viewer tool that comes with Visual Studio 2010 is not the right one to use to view Crystal reports, I realised this after spending half a day trying to figure out why wouldn't the report
load. I then downloaded the Crystal Report Viewer for VS 2010 Standard from http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp. After you install this, you get the crystal report viewer in your toolbar. All you have to do is drag and drop it on
to the web part and configure it to use your report. If any one needs help with this let me know I will show how to do that.
So far so good. The biggest challenge was to deploy this on to the production server which took better part of 3 days to figure out how its done. If you deploy the WSP file as it is expecting that the crystal DLLs would be embedded in it then be ready to
expect a rude shock because it isn't. Here are the steps -
1. Deploy the WSP to the sharepoint server
2. Install the crystal dlls used in the project (CrystalDecisions.CrystalReports.Engine.dll, CrystalDecisions.ReportSource.dll, CrystalDecisions.Shared.dll, CrystalDecisions.Web.dll) into the GAC using GacUtil command
3. Add following entries to Web.Config file (C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.congif)
<SafeControl Assembly="CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.CrystalReports.Engine" TypeName="*" Safe="True" SafeAgainstScript="False"
/>
<SafeControl Assembly="CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.ReportSource" TypeName="*" Safe="True" SafeAgainstScript="False" />
<SafeControl Assembly="CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Shared" TypeName="*" Safe="True" SafeAgainstScript="False" />
<SafeControl Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" Namespace="CrystalDecisions.Web" TypeName="*" Safe="True" SafeAgainstScript="False" />
4. Install crystal redistributable package which can be downloaded from http://www.businessobjects.com/jump/xi/crvs2010/us2_default.asp (
SAP Crystal Reports runtime engine for .NET Framework 4 (64-bit))
5. Copy aspnet_client folder from C:\>inetpub\wwwroot and overwrite it on C:\>inetpub\wwwroot\wss\VirtualDirectories\80
And we are done. Fingers crossed it should all work.
Prasad Matkar MCP, MCTSHi Mahesh,
How are you loading the report in your webpart? This is what I have done. I have tried to explain what I am doing in the program comments. Hope this helps. Good luck.
SPSite mySite = new SPSite(SPContext.Current.Site.Url.ToString());
SPWeb thisSite = mySite.OpenWeb();
// Writing to event log after every step in debug mode so that you get to know if there was a failure what step the failure occured after.
EventLog.WriteEntry("Reports", "Inside PAge Load ", EventLogEntryType.Error);
SPFolder folder = thisSite.GetFolder("Reports");
if (folder.Exists)
// get collection of Crystal Reports rpt files in the document library
SPFileCollection files = folder.Files;
// open the rpt file and get the contents
SPFile srcfile = files[reportToLaunch];
byte[] content = srcfile.OpenBinary();
// make a temporary folder
DirectoryInfo dir2 = new DirectoryInfo("~/temp");
if (!dir2.Exists)
dir2.Create();
if (File.Exists("~/temp/temp.rpt"))
File.Delete("~/temp/temp.rpt");
// write the report definition to a temporary file
// EventLog.WriteEntry("Reports", "Before Creating temp report ", EventLogEntryType.Error);
//EventLog.WriteEntry("Reports", "Before Create ", EventLogEntryType.Error);
BinaryWriter bw =
new BinaryWriter(File.Open("~/temp/temp.rpt", FileMode.Create));
bw.Write(content);
bw.Close();
// EventLog.WriteEntry("Reports", "After Create ", EventLogEntryType.Error);
// set up the crystal report
ReportDocument reportDoc = new ReportDocument();
reportDoc.Load("~/temp/temp.rpt");
EventLog.WriteEntry("Reports", "after report load ", EventLogEntryType.Error);
ConnectionInfo connection = new ConnectionInfo();
connection.ServerName = "SQLServerName";
connection.DatabaseName = "SQLDatabase";
connection.UserID = "sqluser";
connection.Password = "sqlpassword";
TableLogOnInfo logon = new TableLogOnInfo();
logon.ConnectionInfo = connection;
reportDoc.SetParameterValue("@Parameter1", parameter1);
reportDoc.SetParameterValue("@Parameter2", parameter2);
EventLog.WriteEntry("Reports", "after assigning parameters ", EventLogEntryType.Error);
foreach (CrystalDecisions.CrystalReports.Engine.Table t in reportDoc.Database.Tables)
t.ApplyLogOnInfo(logon);
EventLog.WriteEntry("Reports", "after applying login info ", EventLogEntryType.Error);
// and the Crystal report Viewer
CrystalReportViewer1.ReportSource = reportDoc;
EventLog.WriteEntry("Reports", "Before delete ", EventLogEntryType.Error);
// clean up
File.Delete("~/temp/temp.rpt");
EventLog.WriteEntry("Reports", "after delete ", EventLogEntryType.Error);
Prasad Matkar MCP, MCTS -
Display only graph in the Crystal report viewer
Background:
We used Crystal Reports ver10 to display various graphs in our ASP.Net 2.0 Web Application (Visual Studio 2005)
We recently migrated our application to .NET 4.5 and Crystal Reports ver13 (Visual Studio 2012)
Issue:
Now, the Crystal Report Viewer control loads the graph inside an <IFRAME> which shows the whole page with the graph placed on the right bottom corner instead of just the graph image as it used to previously.
I have checked various properties that hides the tree and the toolbar and I am unable to get rid of the whole page.
Query:
Is there a way to not display the page and display only the image that contains the graph? OR
Is there a way to not render the whole <iframe> and just display the graph image inside a <div> as it used to happen before?Hi Ludek, thanks for your response. Please refer the screenshots below.
1) CR ver10 - the graph <img> is simply enclosed inside a div
2) CR ver13 - the graph <img> is enclosed inside an <iframe>'s body - you can also see the scroll bars and "white-page-background" and "grey space" which I am hoping to hide or disable
3) We are using the same set of CRViewer properties in both cases:
- DisplayGroupTree = False
- DisplayToolbar = False
- HasDrillUpButton = Flase
- HasRefreshButton = False
- HasToggleGroupTreeButton = Fasle
- HasViewList = False
- HasZoomFactorList = False
- EnableViewState = True
4) Here's a screenshot of of the .rpt file opened in the VS 2012:
We only want to render the graph image on the UI and not the whole page. Is there a property setting that will help us achive this or should we define explicit CSS styles to hide those areas?
Thank you for looking into this!
Avrosh -
Can't Print Landscape from Crystal Reports Viewer XI
Post Author: conrad
CA Forum: General
Product: Crystal Reports Viewer XI, version 12.0.0.r130_v20070725 and
Crystal Reports XI, version 11.0.0.1282
Patches Applied: none
Operating System(s): XP Pro SP2
Database(s):
Error Messages: noneSteps to Reproduce:
Download and install Crystal Reports Viewer XI
Open a Crystal Report that prints landscape.
Save report with data.
Open that report with Crystal Reports Viewer XI. Report will display landscape.
Click Print..OK
Viewer will attempt to scale output to fit on portrait paper, with varying degrees of success.
Checking the properties of the report from Viewer (File...Report Properties...) shows a "Page Orientation" of "Landscape" and a message "Page Orientation and size defined by the application (no page information set by report author)."
Any ideas on how to get the report to print landscape? It prints that way from Crystal Reports XI.Hello Glenda,
as you refer to the legacy technology I recommend to post this query to the [Legacy Application Development SDKs|SAP Crystal Reports - Legacy SDKs; forum.
This forum is dedicated to topics related to legacy SDKs, including the Report Designer Component (RDC), OCX, VCL, and Crystal Reports Print Engine (CRPE).
It is monitored by qualified technicians and you will get a faster response there.
Also, all Legacy Application Development SDKs queries remain in one place and thus can be easily searched in one place.
Thanks a lot,
Falk
Maybe you are looking for
-
Wired app gives me only grey screen
I purchased the first 2 issues of the Wired magazine. I had a problem with last iPad OS update (3.2.1) and after a full restore, my Wired app is just a big grey screen. I have not the option to download the latest issue as the system thinks I've it a
-
How to config receiver http adapter for HTTP POST without XML tags ??
Hi All, Can you please provide some infornation on How to config receiver http adapter for HTTP POST (Request) without XML tags ?? Our receiving product doesn't support XML formats. Is there any option to bypass server authentication on the XI? If a
-
Error when passing data to Business connector
Hi All, I am getting the error (com.wm.lang.flow.FlowException: [B2BCORE.0049.9010] Service; An error occurred when executing a REMOTE FUNCTION CALL.) when i am passing data from a program to business connector. I have tested my connection in R/3 and
-
PDF Proposal, Ala Carte Items, with a Grand Total Automatically Generated
I need to create a proposal containing check boxes so a client can choose projects ala carte and see a grand total for his selections at the bottom. I am using acrobat x pro. I am a novice, and don't even know where to write a javascript, or how to
-
Images are damaged after importing
Hi, I imported a set of images last night after an event. All the images looks great in the camera but after importing it some images looks damages, looks like scratches and colour faded or half of the image is white or black or blue... Have you expe