Reading data from a crystal report using crystal for eclipse
tried both approaches listed here: [Help needed in reading data from a Crystal Report]
but having the same issues, is this a bug or is there some workaround? cant get any results with rowsetcursor and only the first 100 no matter what i do with browsefiledvalues
Hello,
I have the same problem. I need to know values of last record in CrystalReports and i got only 100 records.
Have you found solution for this problem?
Similar Messages
-
How to read data from a router by using labview
I am a beginner labview. How to read data from a router by using labview ?
What kind of data are you trying to read?
Does the router behave like a webserver that you log into? If so, search the forums for threads discussing HTML. -
Need to read data from pipe separated file using POJO?
Hi,
I need to read data from pipe separated file using POJO.
There is config.properties file which consists of the
data mapping.
Can you help me with sample code or help?
Regards
Regards
Taton
Edited by: Taton on Mar 7, 2009 4:41 PMIt's not possible to read from a file without using classes from the core API*. You'll have to get clarification from your instructor as to which classes are and are not allowed.
[http://java.sun.com/docs/books/tutorial/essential/io/]
*Unless you write a bunch of JNI code to replicate what the java.io classes are doing. -
Post Author: Manjula
CA Forum: JAVA
Hi,
Trying to schedule a report using Crystal Reports Server Java SDK. Want to pass DBConnections from API, though passing DBConnections, the report is not being scheduled and says "Failed to retrieve data from the database.Details:[Database Vendor Code:6550].
Would be thankful if someone could answer my point as applicable.
Here is the code attached.
ISDKList dbLogons = oReport.getReportLogons();int dbLogonSize = dbLogons.size();
for(int i=0; i<dbLogonSize; ++i) {
IReportLogon dbLogon = (IReportLogon)dbLogons.get(i);
dbLogon.setDatabaseName("DBname");
dbLogon.setUserName("usrname");
dbLogon.setPassword("pwd");
Thanks in advance.Post Author: Manjula
CA Forum: JAVA
Ted,
Thank you for your valuable information.
First, tried scheduling on Central Management Console and then with the java code.It worked fine, but here is another question for you.
On the Console, a report exists with ServerName and UserName harcoded and when trying to set ServerName and UserName from the java code, its throwing exception. Where as Password is not set on Console, am able to set password from java.
And DatabaseName is not set on Console (non editable), unable to set the same from java too. Why is it so?
So, my question is - though ServerName,DatabaseName,UserName,Password exists on the Console report, can't I override those parameters from java?
Would be greatful if you answer my question and provide me some guidance.
Thanks in advance. -
Problem in Display the Crystal report using Crystal report Viewer 2008
Hi All,
I have developed crystal web project with crystal report using Eclipse IDE. when I deploy this web application using Tomcat server 6.0 in Windows xp, Windows Vista.. It is working fine..
But When I deploy it into Windows 2000 server , I am not able to see Last 2 columns of the report page in the Viewer.
But When I tried to Export as Excel, I got all the datas in the Report and also when I preview the report in Eclispe IDE using crystal viewer plugin it is working fine in Windows 2000 server also..
Thanks in Advance for your help..
Regards,
SathiyaMBPSWindows 2000 is not supported in current versions of CR. Check the platforms PDF file.
-
Problem reading data from oracle database 11g using OleDbDataReader
Hi everyone I work with Visual Studio 2010 and C# programming language. I have a problem reading data from the oracle database. I created a WPF application with my main Window Xaml and class files and 1 more class called DataFiles. The thing I want is to read some data from the database on my grid in my WPF window. Problem is even though it connects to the database the grid is always empty. It isn't the connection string as I tested it and it connects to the database the problem seems to be in showing the LASTNAME (PREZIME in my native tongue) on the grid which is what it's supposed to do.
Here is the code:
Data Files Code
using System;
using System.Collections.ObjectModel;
using System.Data.SqlClient;
using System.Data.OleDb;
namespace SQLKonekcija
public class clsEmployee
public string Prezime { get; set; }
public class DataAccess
OleDbConnection oleCon;
OleDbCommand oleComd;
public DataAccess()
string connectionString = "provider=ORAOLEDB.ORACLE; data source=ORCL; password=****; user id=****;";
oleCon = new OleDbConnection(connectionString);
public ObservableCollection<clsEmployee> GetAllEmployee()
ObservableCollection<clsEmployee> EmpCol = new ObservableCollection<clsEmployee>();
oleComd = new OleDbCommand();
oleComd.Connection = oleCon;
oleComd.CommandText = "Select PREZIME from UPOSLENICI";
oleCon.Open();
OleDbDataReader Reader = oleComd.ExecuteReader();
Reader.Read();
while (Reader.Read())
EmpCol.Add(new clsEmployee()
Prezime = Reader["PREZIME"].ToString()
oleCon.Close();
return EmpCol;
}And here is my main window.cs code
public partial class MainWindow : Window
clsEmployee objEmpToAdd;
DataAccess objDs;
public MainWindow()
InitializeComponent();
private void Window_Loaded(object sender, RoutedEventArgs e)
objDs = new DataAccess();
dgEmp.ItemsSource = objDs.GetAllEmployee();And the XAML
<Window x:Class="SQLKonekcija.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
<Grid>
<DataGrid AutoGenerateColumns="False" Height="237"
HorizontalAlignment="Left" Margin="18,66,0,0" Name="dgEmp"
VerticalAlignment="Top" Width="466" ColumnWidth="*"
>
<DataGrid.Columns>
<DataGridTextColumn Binding="{Binding PREZIME}" Header="Prezime"></DataGridTextColumn>
</DataGrid.Columns>
</DataGrid>
<TextBlock Height="42" HorizontalAlignment="Left" Margin="18,15,0,0" Name="textBlock1" Text="TEST CONNECTION" VerticalAlignment="Top" Width="462" TextAlignment="Center" FontSize="28" FontWeight="ExtraBold" />
</Grid>
</Window>
The guys on the MSDN forums told me I should ask the question here so sorry if it's not your field.
Hope u guys can help, thanks.I tried it, commented out the reader.read and have the following connection string
string connectionString = "provider=ORAOLEDB.ORACLE; data source=ORCL; password=****; user id=****; OLEDB.NET=True"
Unfortunately the result is the same.
Edited by: Dino2dy on Nov 24, 2011 12:53 AM -
Reading data from ERP 6.0 (using BAPI) to VBA (MS Excel)
Hi Guys,
I want to learn something about RFC called from VBA using BAPI's.
I was able to write a simple VBA makro to read data from single record, but now I would like to wirte something using GetData. Here I have problems and could not find useful information.
I have something like this:
Set boOrder = oBAPICtrl.GetSAPObject("SalesOrder")
Set oSalesOrders = oBAPICtrl.DimAs(boOrder, "GetList", "SalesOrders")
oCustomer = "1000"
oSalesOrg = "xxx"
boOrder.GetList CustomerNumber:=oCustomer, _
SalesOrganization:=oSalesOrg, _
SalesOrders:=oSalesOrders, _
Return:=oReturn
My question:
How do I access the data I have read from ERP system using GetList?
How do I check how mane record I read (accoriding to the selection criteria)?
Can somebody advise me on that?
Please not that I am using in in VBA and not VB.
regards
RafalHi,
I came across this problem aswell and it's so frustraing and little information available how to resolve this, so I decided to post this.
When you execute the transaction 'S_ALR_87013635' there are 3 options in the menu bar:-
Output parameters...
Data Source...
Extract parameters...
Go into extract parameters, click 'create extract' and enter a description.
You should then be able to run the program. Ensure that you have the correct macro settings also i.e.
1) Enable macros
2) Trust all sites with Visual Basic
Hope this helps other people with the same issue! -
How to read data from Linux named pipes using java?
In linux box I want to get data from a named pipe(created using "mkfifo <filename>".
How I can read the incoming data from the named pipe?there are some caveats though: if i remember correctly, when you reach the end of data in a fifo it will look like end-of-file and that may confuse some classes. So your mileage may vary
-
How to read data from the excel file using java code.
Hi to all,
I am using below code to getting the data from the excel file but I can't get the corresponding data from the specific file. can anyone give me the correct code to do that... I will waiting for your usefull reply......
advance thanks....
import java.io.*;
import java.sql.*;
public class sample{
public static void main(String[] args){
Connection connection = null;
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection( "jdbc:odbc:Mydsn","","" );
Statement st = con.createStatement();
ResultSet rs = st.executeQuery( "Select * from [Sheet1$]" );
System.out.println("sample:"+rs);
ResultSetMetaData rsmd = rs.getMetaData();
System.out.println("samplersd:"+rsmd);
int numberOfColumns = rsmd.getColumnCount();
System.out.println("numberOfColumns:"+numberOfColumns);
while (rs.next()) {
System.out.println("sample1:"+rs);
for (int i = 1; i <= numberOfColumns; i++) {
if (i > 1) System.out.print(", ");
String columnValue = rs.getString(i);
System.out.print(columnValue);
System.out.println("");
st.close();
con.close();
} catch(Exception ex) {
System.err.print("Exception: ");
System.err.println(ex.getMessage());
}1: What is the name of the excel sheet?
2: What is printed in this program? null ? anything?
error?Excel file name is "sample.xls" I set excel file connectivity in my JDBC driver(DSN). Here in my program I am not giving that excel file name. I am giving only that excel sheet name. that is followed
ResultSet rs = st.executeQuery( "Select * from [Sheet1$]" );The output of this program is given bellow.
sample:sun.jdbc.odbc.JdbcOdbcResultSet@1b67f74
samplersd:sun.jdbc.odbc.JdbcOdbcResultSetMetaData@530daa
numberOfColumns:2 -
Is it possible to read data from MATLAB *.mat file using LabVIEW?
I have *.mat file from Matlab with some data. Does anybody know how to extract them from this file. I need to know the file format.
Oleg Chutko.The Mathworks site is pretty good about having documentation for the formats of their file types. I recommend looking there for the format.
-
How can read data from my local PC using JDBC adapter
Hi experts.
Actually we don't have permissions to work on RDBMS. So by locally I have Oracle8.0 installed in my pc. so can i update the table in my database via JDBS adapter. If so please describe how and where can I find the connectivity between XI server and my local DB system.
Thanks.The first question is: Can the XI access your local PC?
In most environments this is not possible.
Connect to the server where the XI is installed and log on with the <sid>adm user (or let an administrator do this). Try to ping your PC.
If this is successful, you have a good chance to connct your database. Follow the description in your database manual, which parameters you need to enter in the JDBC adapter channel.
Regards
Stefan -
How to Read Data from a table (horizontal axsis) in an existing report
Hi to all,
I've a question. I must read the data in a table of an existing report. I develope with BO XI 3.0
I don't know how to reach the table in my report from SDK.
this is my code:
reports = document.getReports();
rep = reports.getItem(0);
the report has the title and a table horizontal axsis.
I must read the column name(header column) of the table and all rows for retrieving values.
Thank u in advance for your attention.hi ChinMay,
thank u for your answer.
I would like to ask u if Ireport refers crystal reports, while i mean to read data from a webi report.
I've tried in many manners to read this data and i've read the SDK, but i'm unable to reach the table of my report for reading its rows. i'm able to export in XML format, i'm able to get reportelement , block, but in the java's example of SDK its not present how to obtain the reportbody and subsequently the section or directly a table. the example that i've seen show that if u create a new report u can create the reportbody, the section, the table and others. But don't show how to obtain this from an existing report.
Probably i don't understand very well all the SDK structure and i think that is possbile to read a table(with horizantal axis) in a report without section only passing by the ReportBody.
I know that u don't have so time to spent for things that are in the SDK, but if it's possible to have ten rows of sample about this question i'll be very happy.
If it's not possibile, thank u very much for your interesting and disponbility and i'll try again and again and again to solve this.
Matteo -
Reading data from mlx90129 rfid tag chip by using spi communication with labview?
Hi,
i have evb90129 evalution board in that mlx90129 chip and external memory (cat25128) and three external sensors are there, i am logging data from chip by using rfid reader it ok i am reading. at the same time i configured spi communication and i am trying to read data i am reading data from internal memory not from external memory i tried but i didnt suceed , now can i use labview to read data from mlx chip and external memory. for spi communication i am using sparkfunction atmega168 microcontroller and also i have spi to usb cable? now can i communicate or i required any devies? is it possible?
thanks in advance,
biji.I suspect the culprit to be the first parameter to your function actually. Calling another function requires the caller to allocate any buffer with a big enough size for the function to write something into. Allocate that array by using Initialize Array with U8 as type and the correct number as size. Pass this size also as read_length. While your code doesn't make use of this I think the third parameter to your function is either wrong or unnecessary.
As you use it now it is really nothing more than a local stack variable which you could declare inside the fucntion just as well. On the other hand what you probably want to do is have a function prototype like:
extern "C" _declspec(dllexport) unsigned char read_Sensor(unsigned *char read_data, unsigned long read_length, unsigned long *byte_transfered);
But you will have to do some modifications in your C code to support that parameter correctly.
That all said, doing the same in LabVIEW using VISA functions would have been done with about two VISA nodes, no DLL headaches and probably already long ago working.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Creating Crystal Reports with Crystal Report Server XI
Hello,
I am new to Crystal Reports, i installed Crystal Reports Server XI R2 on Windows 2003 server with SP2 and was able to launch Inforview application and also Central Management Console Log On.
I can also see some sample reports which are installed during installation.
Now my next task is to create Crystal Reports using Crystal Report Server XI R2. How can we create a crystal report now by only using Crystal Report Server XI R2?
Do we have to install some other application to create Crystal Reports? I donot see any link on my server which i can use to create crystal reports. The only links which i can see are :
Business Objects-->
Crystal Report Server-->
.Net Administration LaunchPad
.Net Infoview
Business View Manager
Central Configuration Manager
Data Source Migration Wizard
Data Source Migration Wizard Help
Import Wizard
Online Developer Library
Publishing Wizard
Registration Wizard
Release Notes
Repository Migration Wizard
Please help
Thanks
VipinTwo ways to create reports:
1) You install the Crystal reports Designer (CRW32.exe).
With your Crystal Report Server, you should also have received a second CD that would have the CR designer.
2) You use the RAS SDK and create reports on the fly using the RAS report creation APIs - .NET or Java. Since you are in the .NET developer forum, I assume you might be interested in the .NET RAS SDK. Here is a list of resources i would recommend:
Links to samples are [here|https://www.sdn.sap.com/irj/scn/wiki?path=/display/bobj/netBusinessObjectsEnterpriseSDKSamples]
[How to use the RAS SDK .NET with In-process RAS Server|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10b840c0-623f-2b10-03b5-9d1913866b32]
[Programing RAS|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b050afe0-2fa5-2b10-658d-98f214ba6a4a]
[Choose the Right SDK for the Right Task|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f006a5e6-7e64-2b10-8a84-8b15ca5cacfc]
For more help, search these forums (there are some great posts in here), the [notes database|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true]
[articles|https://www.sdn.sap.com/irj/sdn/businessobjects-articles] and [downloads|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm]
Ludek -
Without loops how can i read data from associative Array??
Hi all,
I am facing scenario like...
i need to read data from associative array without using loops is it possible,
CREATE OR REPLACE PACKAGE BODY test_pkg IS
TYPE t1 IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
-- in array we can expect more than one row or sometimes no data also.
FUNCTION test1(vt1 T1 DEFAULT CAST(NULL AS t1)) RETURN NUMBER IS
BEGIN
-- basically in array we'll get data of column2
-- this loop should satisfies table1.colum2 = nvl(NULL, table2.colum2 )if array is null.
-- if array is not null then only compare with array values
FOR i IN (SELECT t1.colum1,t1.column2
FROM table1 t1, table1 t2
WHERE t1.colum1 = t2.column1
AND t1.colum2 = nvl(vt1, t2.colum2)
LOOP
generateTEXT(i.colum1, i.colum2);
END LOOP;
END test1;
END test_pkg;
in table1 we have date like...
colum1 column2
Jan 1
Feb 2
Mar 3
if i call select test_pkg.test1(1) from dual then output should
be Jan..
and
select test_pkg.test1(null) from dual then it should display all elements from table1.
Jan 1
Feb 2
Mar 3,
Thanks for your quick replay..i need to read data from associative array without using loops is it possible,
No - you would need to create a SQL type and then use the TABLE operator to unnest the collection.
create or replace TYPE my_nums IS TABLE OF INTEGER;
DECLARE
-- TYPE my_nums IS TABLE OF PLS_INTEGER INDEX BY PLS_INTEGER;
v_nums my_nums := my_nums(1, 2, 3);
v_total number;
BEGIN
select sum(column_value) into v_total from table(v_nums);
DBMS_OUTPUT.PUT_LINE
('Sum of the numbers is ' || TO_CHAR(v_total));
END;
Sum of the numbers is 6
Maybe you are looking for
-
I used to open the link" http://supportdocs.sonybiz.net/indexes/pi%5CLFS%5CMay_2004%5C00035186.pdf" in firefox earlier. Now I use version 5.0. Recently I noticed that such links in pdf are not opening with firefox and getting an error that "The syste
-
Hi, we have a requirement to read huge amount of data from an Oracle DB view into a flat file. but instead of creating one big file we want to debatch it into a number of smaller files. Does ODI provide any such kind of functionality ?
-
How to create more storage space without deleting apps
I need more storage space for my iphone 5s. I dont want to delete my apps. any ideas?
-
All SAP Users on the Application Server
Hi, Is there any place in SAP where I can see who are using sessions specific to my application server? Thanks
-
Can I stream live world cup games on IPad?
I know ESPN3 and Univision will be streaming games live. Does anyone know if on the 3g network I will be able to watch them? I do not own an IPad but am highly interested in purchasing one.