More than two tables in crystal report.
Was wondering if anyone new of a patch for reports with more than 2 tables. This does not seem to work when there are more than 2 tables in a report...it worked in 7.3.
22222
null
Similar Messages
-
How can I download to one excel sheet from more than two table?
Hi.
as you know
<SAP_BW_URL CMD='EXPORT' FORMAT='XLS' DATA_PROVIDER='DATAPROVIDER_T1' >
this script can make download excel sheet which is same cotents of table or chart in web template.
but if template has more than two tables how can we get excel sheet from tables?
<SAP_BW_URL CMD='EXPORT' FORMAT='XLS' DATA_PROVIDER_1='DATAPROVIDER_T1' DATA_PROVIDER_2='DATAPROVIDER_T2'>
I hope this gonna work but result was fail same as I expected.
is there any way put two tables download one excel sheet?Welcome to SDN.
Post this in Business Explorer forum for quicker resposne.
SAP Business Explorer (SAP BEx)
Regards
Raja -
How to specify more than Two Tables in NATURAL JOIN
Hi,
I am using Oracle9i R-2. I want help in writing a Query using Two Tables in SQL*PLUS. I am using ANSI/ISO Standrard for table-joins:
select col1, col2, descr
from tab1 natural join tab2
There are two columns col1 & col2 is common between thse two tables. So, it will join them and query execute well.
How can i use 3rd table tab3 in the same way in Natural Join...? If column col1 & col2 is available in tab3 also.
I tried this way, but it gives me error:
select col1, col2
from tab1 natural join tab2 natural join tab3
Is it possible to specify more than two tables in Natural Join Clause.
Please check that out & help please. Thanks.
Regards,
Kamesh RastogiI do not get an error when I try the same thing on the same version, as demonstrated below. Can you post your table structure and a copy and paste of a run of your actual query with the error that you are receiving?
scott@ORA92> select banner from v$version
2 /
BANNER
Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
PL/SQL Release 9.2.0.1.0 - Production
CORE 9.2.0.1.0 Production
TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
NLSRTL Version 9.2.0.1.0 - Production
scott@ORA92> select * from tab1
2 /
COL1 COL2 COL3
1 1 A
10 10 B
scott@ORA92> select * from tab2
2 /
COL1 COL2 COL4
1 1 C
20 20 D
scott@ORA92> select * from tab3
2 /
COL1 COL2 COL5
1 1 E
30 30 F
scott@ORA92> select col1, col2, col3, col4, col5
2 from tab1 natural join tab2 natural join tab3
3 /
COL1 COL2 COL3 COL4 COL5
1 1 A C E
scott@ORA92> -
Retrieval of Data from More Than Two tables
Hi Experts,
How to get the data from more than two tables.
By using Jdbc, and through only core java.
I mean if i entered some empid at command prompt,
then the complete data (where empid is presented at some tables like L1,L2,L3,L4.) is to be displayed.
Bye
TulsiRam Mohan.
Message #196971Is creating view on these 4 tables is an option ?
Something like :
Select * from a
union all
select * from b
... and so on ? -
Layout issue - More than one table sections on report?
Hello all
I am wondering if any of you know if there is a way to have more than one table or table field on a report.
I'm asking this because I'd like to include a large number of fields in one report, but then that makes the report hard to read (everything is on one long line).
I am wondering if there is a way to have more than one table section on a report so I could have the address information at the top of the report than have other additional information below the address. Basically I'm interested in making things easier to read for the user.Use Pivot tables to isolate the columns you want in each table in your report.
Mike L -
Left Outer Join with more than two tables in both CR 8.5 and XIR2
I am trying to create a report and I have tried two versions of Crystal but I ultimately need the report in CR8.5 for compatibility with the client's system. I think I am starting to figure out what might be wrong and it might be my understanding of SQL, but I can't see why someone hasn't needed this in the past. Ultimately I want to see all projects and any journal entry that might be posted for that project.
Database is MySQL 5.0.38 and using MySQL ODBC driver 3.51.19.
Project header table information will be populated. Each line item on a journal entry can be tagged with the project ID. But for me to pull the journal entry date I need also to link to a third table for the journal entry header info.
I want to see all projects, whether a journal entry has been posted or not.
So the links are like this
ProjectHeader --->Left Outer Join ---> JELines ---> Inner Join ---> JEHeader
I think in this scenerio Crystal is treating the LOJ as an IJ.
I created two brand new reports today, one in CR8.5 and one in CR XIR2. Once I edited the automatic CR8.5 SQL statement (which I have been doing for years, usually without problem), they both ran properly. I linked customers to their invoices. Customers without invoices showed properly. But then I linked the invoices to the payments of the invoices and immediately lost customers without orders in both reports.
So apparently only two tables are allowed in Outer Joins. Does this make sense? I checked out the w3schools tutorial on SQL and it doesn't mention this limitation and I can't find anywhere else that it specifically indicates this but all samples of code I have seen only show two tables. I just thought for presentation as a sample that was easiest to understand and we could expand as necessary.
If this is correct, how does one go about accounting for this kind of thing? One solution that goes through my mind is creating a view at the database level for the link between journal entry lines and journal entry headers. Would this be a good solution under normal circumstances?
A second option that I had to implement because of timelines, is to use a subreport linked to the main report through the project ID to pull the information for the journal entries and just pass the totals I need to the main report through a shared variable.
These aren't normal circumstances because I don't have access to the database so I can't create the view. I have come across this concept several times and I have been able to use subreports to solve it but I am trying to find a better solution for the future as sometimes subreports can be slow. So are there any alternatives I have not considered here?
TIA rasincSo after some more work and another post. I was able to get this to work.
Items disappear when linking to another table
My issues were two fold. I was selecting on the tables on the right-side of the original Inner Join. However, I was checking for Nulls. This apparently is correct but you must check for the Nulls first eg. (IsNull (JEHeader.Field1) OR JEHeader.Field1 <= 100). I had my original statement reversed checking for <= 100 before checking for Nulls.
I also did not set all links to be Left Outer Join. I had the Inner Join. I actually have about 6 tables in this report so all the links need to be set Outer Join. So this now seems to be corrected.
Thanks -
How to group by more than one fields in crystal reports
Hi
How to create groups in crystal reports by more than one fields, like
select fields,aggregate functions from table group by a,b,cNot sure if I understand your question, but you you could create a formula to generate the string of data you want to group on. Then simply create a group based on the formula field.
For example, your formula could do something like (assuming all String fields):
{table1.FirstName} + {table1.LastName} + {table1.DateOfBirth}
, and then group on this formula.
-MJ -
Using more than one Query in Crystal Reports
Dear all,
we want to use two queries an combine them in one crystal report.
How does this work?Sorry my mistake.
It IS possible to join results from 2 different BW queries.
What CR does not support is the join between BW data and relational data.
Still the best practice is to do the join in the database (eg. using an InfoSet)
How many rows do you expect to get from each query?
Regards,
Stratos -
How to manage a Database Application with more than two tables
Hello All,
I need to manage (reconciliation and provisioning) a database application where user attributes are strored in seven tables.
Reference guide for Database Applications Table connector says that only two tables can be managed using this connector.
Which is the best way to solve this problem? Could I create a view in my database ? are database views supported? Must I create a new conector?
Thanks in advance.Hi ,
I developed it from scratch due to complex requirements for accessing tables and their relationship. You can use current connector for your reference.at higher level you need to do only two change (1) build query from xml files to add,update,delete* record across seven tables - (2) changing oim elememnt ( use connector guide for changing element to match your needs)
To develop new connector :
(1) study relationship between these tables (1:*) and fields of interest and also ,as earlier mentioned timestamps for fetching changed record. based on your requirement.
(2) create OIM elements , something you have when you deployed DB app. connector. modify it for requirement. i.e fields .. trusted , non trusted. process task,adapter
(3) Develop classes to get execute query on database. create adapters to perform add/update/delete operation on 7 tables. -
Smartforms doubts--more than one table
Hi Experts,
I have to create one Smartforms having 2 tables in a different-different position.
I know, we can create only one main window. how we can cretae 2 tables whose data can flow for next page also and which window we will use for those tables.
Regards
MohitYou Can have more than two tables in the main window, but in the preview the two tables will not appear side by side. Bcoz, after executing the first table only, the next table data comes in the other window.
solution:
Create a New window (make it as another main window) arrange main1 main2 windows besides.
create a table in new main window and text element, execute the driver program. it will work, make sure the table width should match the main window width other wise you will get error,
Thanks
Ravi -
Developing forms based on more than one table
I need to develop a form which requires to insert and query data elements from
more than one table in the database. Can create a view and develop a form based on the view to achieve this functionality? Also is it better to use portal forms for this purpose or Forms developer 6i for this purpose?
Any inputs/ideas will be greatly appreciated.
Thanks,
SuzanneYes you can do more than one table per form in portal.
You can base a form on two tables in portal if they are designed as master/detail tables. You can also provide linking to other forms passing parameters from a one form to the next to work with multiple tables. Combining more than two tables into a form using portal would require using a view, I believe.
HTH -
Crystal Report - More than one table from MySql
Hello, I am in need of help big time.
I have am using Visual Studio 2010 and Crystal Report 10.
The problem that I am incounting is that I am unable to retreive data from more than one table from a MySql database. I have been stuck on this for too long and need to hjump the hurdle.
I am using a MySql connection string, a dataset and a crystal report which is based on the dataset.
The main error that I am having is, the browser opens and a form appears saying "The report you requetsed requires further information" With the Server name: DataSetPropertiesDetials, while the User name and Password fields are then enabled.
I am guessing I am missing something in my code.
When I retreive data from one table the report is fine, but when I try to use more than one table it throws the error.
My Code is below and also attached:
Imports System.Data.SqlClient
Imports System.Configuration
Imports MySql.Data.MySqlClient
Imports CrystalDecisions.ReportSource
Imports CrystalDecisions.Web
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Public Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim con As MySqlConnection
Dim rpt As New CrystalReport3()
Dim myReport As New ReportDocument
Dim myData As New DataSet
Dim cmd As New MySqlCommand
Dim cmdUser, cmdProperty, cmdBranch As New MySqlCommand
Dim daBranch, daProperty, daUser As New MySqlDataAdapter
con = New MySqlConnection()
'Connection String
con.ConnectionString = "Server=****;Database=***;UID=***;Password=****"
Try
con.Open()
cmdBranch.CommandText = "SELECT branch FROM tblbranch"
cmdBranch.Connection = con
daBranch.SelectCommand = cmdBranch
daBranch.Fill(myData)
cmdProperty.CommandText = "SELECT ref, keys_held, key_no, keys_out, no_name, address_line1, address_line2,key_label FROM tblproperty"
cmdProperty.Connection = con
daProperty.SelectCommand = cmdProperty
daProperty.Fill(myData)
cmdUser.CommandText = "SELECT known_name FROM tbluser"
cmdUser.Connection = con
daUser.SelectCommand = cmdUser
daUser.Fill(myData)
myReport.Load("REPORT LOCATION")
myReport.SetDataSource(myData)
myReport.Database.Tables(0).SetDataSource(myData.Tables(0))
CrystalReportViewer1.ReportSource = myReport '
Catch myerror As MySqlException
MsgBox(myerror.Message)
End Try
End Sub
End ClassHi,
You have 3 SQL commands but you are calling SetDataSource only once. You need to look through for each of the SQL Commands.
Good luck,
Brian -
I have very little space left on the hard drive on my macbook, on my storage report it says "other" is taking up more than two thirds of the space on the hardrive. How can I identify what these files are?
Hello,
There is free software you can download that gives you a graphical image of what files are used on your hard drive. http://www.derlien.com/
This may help you clean down your hard drive for more space.
Best of luck -
Not able to view more than two line in table control
Hi all,
I am not able to see more than two lines in table control. Although my table control height is 21...
Please see attached pic and suggest me what to do.hi,
You have to set the LINES property of the table control In the PBO of your screen, to the number of entries in the internal table.
data: lv_line type i.
DESCRIBE TABLE gt_table LINES lv_line.
table_control-lines = lv_line + 1.
or else
You can do two thing in table control properties check horizontal and vertical scroll options plus in PBO you can based on number of lines in internal table assign it to TC_ABC-LINES if no lines are there then add by default 20..10.. any number of lines as you want. -
Two problmes between Crystal Reports 2008 and Bex Query
Hi Gurus.
I have two problems with Crystal Reports 2008 when It obtains data from a Bex Query (SAP MDX query connection).
1) I have defined some Parameters Fields using the follow options:
Type: String
List of Values: Dynamic
Value Options Level1:
Show on (Viewer) Panel :Editable
Prompt text: <text>
Sort Order: Ascending by value
Prompt With description Only : False
Optional Prompt: True
Allow multiple values: True
Allow discrete values: True
Allow range values: False
When I execute the report with the client of Crystal Reports 2008 (the developer tool), in the initial screen shows a list box where I can select the values from the left box and add it to the left box (as a usually filter). When the number of options (LOV) is more than the maximum of the system, I have a input box bellow the list box, where I can insert any value (manually) and a button to insert it into the left box. When I publish the Report in the infoview, this filter is modified and the input box where I can introduce manually values is not showed and I can insert only the values showed in the list box, it causes that I can`t select a lot of values that is in the master data of SAP BW, because they arenu2019t listed in the list box.
There is any option to ability this option in the infoview.
2) My Bex query, have a date filter with variable in the restricted key figures, when I execute a Crystal Reports, the infoview (and the Crystal Reports 2008 designer) ask me 2 times the same date, first only the date and second the date and the rest of parameters (introduced in the report of Crystal Reports).
Why I need insert the date 2 times? How can I modify the Crystal Report for ask me only one time all the parameters?.
Thanks.Hi Abhilash.
Thank you for your information.
1) Yes, the parameters are created in the Crystal Reports designer. I have created the parameters in the Crystal Report because I use the same Bex Query to create some Crystal Report, in other case, I will need create some Bex Query.
2)The Bex query has the date filters and I have created some filters in Crystal Reports designer, the date filter from the Bex query is created automatically in the Crystal Report Designer but I don't use it, I haven't created it anytime. I use my filters only in the record selection. The date filters from the Bex query is showed as Static, and I can`t delete it, if I modify the parameter to dynamic or static with values, at first step ask me again static without values and the second step of the report execution ask me the parameter as I have defined in Crystal Reports Designer, my parameters fields are dynamic. A lot of reports have subreport, but I have created one of them without subreport (to trial) and the Crystal Reports ask me the date filters at first execution, and when I insert the date filters, in the second step, ask me the date filters again and my parameters fields again.
Thank you again.
Maybe you are looking for
-
Windows Update Failed Due To Services Stopped
Generally, the Windows Update issue can be caused by one of the following factors: I. The Windows Update service has been stopped. II. Corrupted Windows Update Temporary folder. In order to narrow down the cause of this issue and resolve it, you can
-
Suddenly the text on my screen is blurry.
My computer was fine earlier today. I went out (left it on and it went into sleep mode). When I returned, the text on the screen was all blurry. Not only that, but it changed the size of the screen so that nothing that's on it fits as it is supposed
-
I can not connect console with mini usb, my router is cisco 1941 series and my os win7 x64 help me please ? My problem was solved thanks to this topic; https://supportforums.cisco.com/discussion/11492306/usb-console-driver-install-failing#comment-969
-
I have a hp laptop and im having trouble reinstalling itunes
I just got this laptop from my mother n law and i have tried so many different ways to reinstall itunes to this laptop. the original itunes was outdated and wouldnt update, so does anyone have any suggestions as to how i can reinstall it to my laptop
-
RBDAPP01 and VI01 Cost Doc posting
Hi Frnds, I have in incoming IDOC which carries Shipment and cost document data. For some reason this IDOC, in partner profile, has been set as "Trigger by background Program". So as soon as the IDOC reaches the system (ECC 6.0) the status is set to