Database Expert - Table Links breaking
Hi,
I have a set up tables and linked them... while i am designing the report i am adding new tables and command. When i do this the old links break and have to recreate all.
Is there something to avoid this?
Thanks
I doubt it, version of CR you are using would help though?
Also, don't link Tables and Commands in the same report connection, Read the warning message that pops up when you use more than one data sources as well as remove any SQLExpressions before adding more than one Source, the link goes away to create them but it does not remove them and will cause problems.
If you have that many data sources and tables and commands I highly recommend you use a Stored Procedure and do all of your data collection server side, after all that's what DB server are designed to do and will do it much more efficient than CR ever will.
Don
Similar Messages
-
Crystal Report VS2005 - Table fields missing in Database Expert
Hi,
I am having a problem with the Crystal Report comes with Visual Studio 2005. I am trying to develop a customized report for SAP Business One. When I try to add two tables using the Database Expert, there are certain fields missing in the LINK page. This is a big problem for me because I need to link that field with another table. Oddly, it doesn't seems that there are anything wrongs with the missing fields. If I click OK and check at the Field Explorer, the missing fields are there!!!
In other words, it is missing only at the Database Expert --> Link Tab. Anyone having the same problem? Is this a known issue or any patch that I can apply to resolve this issue?
Thanks in advance for your help.
Regards,
HariantoTry this link to resolve your issue:
Full Outer Join option for SQL Query and BW Query grayed out
Thank you
Don -
Database Expert Links tab work area is missing.
I was forced to give up my perfectly good PC when its lease ran out. When I reinstalled CR XI developer onto my new leased PC everything seemed fine until I needed to edit the links between tables. I can select tables on the Data tab within the Database Expert, but, when I select the Links tab I don't see the window containing my tables. It's as if that object was set to visible=false. Where has my window gone?
Still no change. Here are some images of my windows. [Data Tab|http://www.fumpr.com/viewer.php?id=bfi1216811459e.JPG], [Links Tab|http://www.fumpr.com/viewer.php?id=opt1216811596j.JPG] and [Message Box|http://www.fumpr.com/viewer.php?id=jdv1216811742t.JPG] when the OK button is pressed.
-
Crystal freezes when I try to view Links in Database Expert
I am running Crystal 2008 and Windows 7. When attempt to view the links established by my tables using the Database Expert menu, Crystal freezes and forces me to shut the program. I have tried to establish the Table links upon creating the file, but the same thing happens. Does anyone know why this is happening?
Here is the error code from Crystal. Does this spark any ideas on a solution from anyone?
Problem signature:
Problem Event Name: APPCRASH
Application Name: crw32.exe
Application Version: 12.3.3.812
Application Timestamp: 4ce554ae
Fault Module Name: MFC80U.DLL
Fault Module Version: 8.0.50727.4053
Fault Module Timestamp: 4a595928
Exception Code: c0000005
Exception Offset: 0005ac31
OS Version: 6.1.7600.2.0.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789 -
Fields missing from MYSQL table in Database Expert
I have just updgraded from Crystal XI to 2011 and I am still having issues with joining a mysql table to any other table.
Fields show up in field explorer but when I try to uise Database expert the only filed in the MYSQL table is the ID field.
Am I missing something here. Same problem with both versions. When I runa report using just the mysql table evrything works fine.Typically if the field doesn't show up the CR can't figure out what type it is which means when we query the DB for the field type the client/server returns the wrong type or some type that CR doesn't support.
How is the field defined on the server?
Thank you
Don -
Linking logical database to TABLE in query
Can we link Logical Database to Table during query creation in tcode SQVI
Message was edited by:
rohith modi
Message was edited by:
rohith modigo to sqvi and select "Table Join"in data source and enter title select radio button for "basis mode" and enter u reach a new screen in that new screen press "insert table" and give ur table name and again press "insert table" and give another table in thsi way we can joint table in ABAP query.
reward points if it is helpful -
Automatically goto Database Expert Links tab with add-in.
Is there a way to go to the 'Database Expert' screens tabpage 'Links' through code inside an Add-In?
After doing some stuff within an addin (programmed with .NET C#) I want to automatically go to the Database Expert screen and specifically to the Links tabpage without having to click the menu >> Database >> Database Expert... >> tab 'Links'.Hi Dennis,
You did not say what version you are using but I am assuming you are referring to the Embedded Designer control within VS .NET. This component is not for distribution and can only be used within the .NET IDE for creating reports at application design time.
As AG suggested, you'll need to use RAS ( report application server ) to build your own database linking UI. As well as using it for all other report creation API's.
Thank you
Don -
Crw32.exe has encountered a problem and needs to close during table link
I am in the process of evaluating the Crystal Reports 2008 product to create reports on data stored on our IBM AS400 system. When I select two or more tables on the Database Expert window; then click on the Links tab I receive the error message. If you only select one table the product does not crash. u201CCrw32.exe has encountered a problem and needs to close.u201D
Error signature
AppName: crw32.exe
AppVer 12.2.0.290
ModName: mfc80u.dll
ModVer: 8.0.50727.762
Offset: 0005ad30
Installed applications
Microsoft Windows XP Service Pack 2
IBM System i Access for Windows, Version 6 Release 1 Modification level 0 Service level SI31390
Crystal Reports 2008, CR Developer, Version 12.2.0.290, Evaluation Version
ODBC Data Source to the iSeries using the iSeries Access ODBC driverRESULTS
Report for crw32__PID__932__Date__05_04_2010__Time_04_17_34PM__453__Second_Chance_Exception_C0000005.dmp
Type of Analysis Performed Crash Analysis
Machine Name TST100
Operating System Windows XP Service Pack 3
Number Of Processors 1
Process ID 932
Process Image C:Program FilesBusiness ObjectsBusinessObjects Enterprise 12.0win32_x86crw32.exe
System Up-Time 1 day(s) 06:15:05
Process Up-Time 00:01:40
Thread 0 - System ID 492
Entry point crw32+83c818
Create time 5/4/2010 4:15:55 PM
Time spent in user mode 0 Days 0:0:0.328
Time spent in kernel mode 0 Days 0:0:3.46
Function Arg 1 Arg 2 Arg 3 Source
mfc80u!CWnd::SetWindowPos+3 00000000 00000000 0000003c
crw32+637594 0015c438 030161d0 0000004e
mfc80u!CPropertyPage::OnNotify+94 00000000 0012ef18 0012ebc0
mfc80u!CWnd::OnWndMsg+9c 0000004e 00000000 0012ef18
mfc80u!CWnd::WindowProc+22 0000004e 00000000 0012ef18
mfc80u!AfxCallWndProc+a3 00000000 001f02a2 0000004e
mfc80u!AfxWndProc+35 001f02a2 0000004e 00000000
mfc80u!AfxWndProcBase+54 001f02a2 0000004e 00000000
user32!InternalCallWinProc+28 7830fe2f 001f02a2 0000004e
user32!UserCallWinProcCheckWow+150 0015c268 7830fe2f 001f02a2
user32!SendMessageWorker+4a5 00723d68 02711a58 00000000
user32!SendMessageW+7f 001f02a2 0000004e 00000000
comctl32!CCSendNotify+748 0012eed8 ffffff38 0012ef18
comctl32!SendNotifyEx+57 001f02a2 0017020e ffffff38
comctl32!_Ppd_SendNotify+2b 064172c8 00000001 ffffff38
comctl32!PageChange+2e7 064172c8 00000001 0012f21c
comctl32!PropSheetDlgProc+2b3 0017020e 0000004e 00003020
user32!InternalCallWinProc+28 773dc1ca 0017020e 0000004e
user32!UserCallDlgProcCheckWow+146 0015b1b0 773dc1ca 0017020e
user32!DefDlgProcWorker+a8 00000000 0000004e 00003020
user32!DefDlgProcW+22 0017020e 0000004e 00003020
user32!InternalCallWinProc+28 7e423d3a 0017020e 0000004e
user32!UserCallWinProcCheckWow+150 0015b1b0 7e423d3a 0017020e
user32!CallWindowProcAorW+98 7e423d3a 0017020e 0000004e
user32!CallWindowProcW+1b 7e423d3a 0017020e 0000004e
mfc80u!CWnd::DefWindowProcW+42 0000004e 00003020 0012f5b8
mfc80u!CWnd::WindowProc+39 0000004e 00003020 0012f5b8
mfc80u!AfxCallWndProc+a3 00000000 0017020e 0000004e
mfc80u!AfxWndProc+35 0017020e 0000004e 00003020
mfc80u!AfxWndProcBase+54 0017020e 0000004e 00003020
user32!InternalCallWinProc+28 7830fe2f 0017020e 0000004e
user32!UserCallWinProcCheckWow+150 0015b1b0 7830fe2f 0017020e
user32!SendMessageWorker+4a5 0070ab90 02711a58 00003020
user32!SendMessageW+7f 0017020e 0000004e 00003020
comctl32!CCSendNotify+c20 0012f644 fffffdd9 00000000
comctl32!SendNotifyEx+57 00000000 001201e2 fffffdd9
comctl32!ChangeSel+208 001201e2 00000001 00000001
comctl32!Tab_OnLButtonDown+cf 063ab958 00000049 0000000a
comctl32!Tab_WndProc+4c8 001201e2 00000201 00000001
user32!InternalCallWinProc+28 7740f03f 001201e2 00000201
user32!UserCallWinProcCheckWow+150 0015b1b0 7740f03f 001201e2
user32!DispatchMessageWorker+306 0015c468 00000000 0012f874
user32!DispatchMessageW+f 0015c468 00000000 0012f954
user32!IsDialogMessageW+572 0017020e 02720400 0012f954
mfc80u!CWnd::IsDialogMessageW+2e 0015c468 7832e88c 0015c468
mfc80u!CWnd::PreTranslateInput+29 0015c468 0015c468 0015c468
mfc80u!CPropertySheet::PreTranslateMessage+ca 0015c468 0015c468 02f91008
mfc80u!CWnd::WalkPreTranslateTree+1f 000f019c 0015c468 0015c468
mfc80u!AfxInternalPreTranslateMessage+3b 0015c468 78348336 0015c468
mfc80u!CWinThread::PreTranslateMessage+9 0015c468 7834824b 0015c468
mfc80u!AfxPreTranslateMessage+15 0015c468 00000000 0012f954
mfc80u!AfxInternalPumpMessage+2b 508aafcf 0300d458 00000000
crw32+52530e 0300d458 00000000 00000001
0x508aafcf 00000000 00000001 00df598c
0x0300d458 00000001 00df598c 00000001
MFC80U!CWND::SETWINDOWPOS3In crw32__PID__932__Date__05_04_2010__Time_04_17_34PM__453__Second_Chance_Exception_C0000005.dmp the assembly instruction at mfc80u!CWnd::SetWindowPos3 in C:WINDOWSWinSxSx86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_b77cec8emfc80u.dll from Microsoft Corporation has caused an access violation exception (0xC0000005) when trying to read from memory location 0x00000050 on thread 0
Module Information
Image Name: C:WINDOWSWinSxSx86_Microsoft.VC80.MFC_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_b77cec8emfc80u.dll Symbol Type: PDB
Base address: 0x782e0000 Time Stamp: Sat Jul 11 22:31:52 2009
Checksum: 0x00114d13 Comments:
COM DLL: False Company Name: Microsoft Corporation
ISAPIExtension: False File Description: MFCDLL Shared Library - Retail Version
ISAPIFilter: False File Version: 8.00.50727.4053
Managed DLL: False Internal Name: MFC80U.DLL
VB DLL: False Legal Copyright: © Microsoft Corporation. All rights reserved.
Loaded Image Name: mfc80u.dll Legal Trademarks:
Mapped Image Name: Original filename: MFC80U.DLL
Module name: mfc80u Private Build:
Single Threaded: False Product Name: Microsoft® Visual Studio® 2005
Module Size: 1.06 MBytes Product Version: 8.00.50727.4053
Symbol File Name: c:symcacheMFC80U.i386.pdb7C831002AB274BF6938D1DEC58BF11A1dMFC80U.i386.pdb Special Build: & -
Memo fields in Crystal Database Expert
We are developing a set of commission reports and need to pick up our sales person code from a UDF. The UDF is Alphanumeric and does not show in the list of available fields for linking in the Database Expert. Is there a way to get these to appear in the selection list or do we need to construct SQL statements within the report to pick up this information?
Thanks,
JimHi,
If you are just want to get a data from only one table no need to query. Much better if you make it a query because every module have different tables. For the Title information it have different table and Row have different table but you can link them. Please try also to check and verify if the UDF field is not empty or NULL thats why no data have been shown.
Regards,
Clint -
Need View/Table Linking Advice
Post Author: scotthibbard
CA Forum: Data Connectivity and SQL
If someone could provide some advice on this issue I'd appreciate it...
I am using CR 11.5 Dev Edition. I used the Database Expert to add a view to an existing report. I get two error messages saying the following:
1) "Your current link configuration contains multple starting points. Please be advised that this is generally not supported."
2) "Database Connector Error: 'If tables are already linked then the join type cannot change.'"
At present the view is unlinked (I presume this is the cause of error #1); however, I get error #2 and a blank report returned whether I link the view or not.
Thanks,
ScottPost Author: JimW
CA Forum: Data Connectivity and SQL
The errors definitely seem to indicate a linking problem although you'd think the SQL wouldn't work outside Crystal if that were the problem. The nested views shouldn't cause a problem as long as the view itself is returning what you expect.
I assume your Join Types are ok. Do you have any SQL Expressions? Do you have any subreports?
I think I'd have to clear links and relink again just to be sure (and because it's so fun). One thing to check is to scroll all the way in the link diagram to make sure there isn't a rogue table sitting out there that got added by mistake, although that's a shot in the dark.
...Jim... -
Post Author: jomeir
CA Forum: Data Connectivity and SQL
Hi All,
I was wondering if it is possible to force table joins in the database expert as I am trying to create a report which has data taken from an SQL database and an Access database, the two fields which need to be linked are of 'String' data type (Access) and 'Number' data type (SQL).
I know the data type should match but there is no way of changing the data types in the databases so must find a work around somehow.
Any ideas would be very much appreciated.
Thanks
p.s. I am a newbie!!Post Author: Jagan
CA Forum: Data Connectivity and SQL
You could put the join condition in the select expert, but I think you'll end up with a cartesian product being returned to Crystal which it'll then have to join itself. Adding data restrictions on both tables as well as the join may reduce the cartesian product you get.
Another option could be to have just one table in the main report and use a subreport to get each corresponding record from the other table, but this might be too slow. You'd want to ensure the main report's data was converted to the subreport table's datatype before joining otherwise any index on the column won't be used and you'll end up scanning the table for each record in the main report rather than getting it via the index. -
SD-How to find table link of special delivery and sales order number?
Hi Experts,
I have a requirement as below.
In LIPS table (SD document: Delivery: Item data), in this table has one kind data.
One record has maintianed 2 fields PSPNR(Project definition (internal)) and PS_PSP_PNR(Work Breakdown Structure Element (WBS Element)).
How to find sales order number of the above record? Could you tell me which table link the delivery item data and sales order number?
Thanks a lot,
Frankhi,
check this.
[https://forums.sdn.sap.com/click.jspa?searchID=20150250&messageID=3784069] -
Convert table linked report into a Command version - Howto?
How can I convert hundreds of reports from table linked into a Command version?
One way to do is to take the SQL syntax off the report, add a Command with that Syntax and manually replace the database fields by the Command fields.
I can not believe that is the right way to this. Is there no hidden (re-)mapping fields button or another undocumented feature?
If this is the way to do it... when will there be a one-button-click solution. The underlaying data keeps the same, could not be that hard to build..?
Without that basic functionality Crystal Reports is not option for us anymore.
Backgroud: We do have hundreds of reports that are created by an ODBC (RDO) database (SQL Anywhere database), created by linking the tables and select the fields we like to use in the report. This works fine at least as we used the RDC method in our application. Because we are moving to .NET we could not use RDC anymore and have to use the .NET methods. However the .NET SDK is very limited. The only way to add more complex WHERE statements is to use the Command functionality of Crystal Reports.Hi Hans,
Let me explain, Command Objects are sent directly to the DB server as is. CR does not alter the SQL at all. As you know in SQL there are minor differences between the various servers and the SQL syntax can vary from DB to DB. Because of this CR could not build in the logic to handle the vast number of potential mappings, and not jsut SQL types but also PC databases.
To be able to map reports based on connections directly to the DB through a Command object the current versions of CR do not have the ability. Possibly the next version may have this feature though but we can't say for sure until it's released. Check our WEB site for new versions and there functionality.
Next question about moving off of the RDC to .NET, you are correct. CR no longer allows you to modify the SQL statement directly. The RDC was actually supposed to stop you also but it did work.
One possible solution is to use .NET and inProc RAS ( Report Application Server) and using record sets. Your app can get the SQL from the report, process the query and appending the info onto the WHERE clause as well as other filtering and then set the existing reports data source to the record set. As long as your data is less than 5000 rows then no performance issues, over 5K and you may start to see slow report processing. Depends on other info and report complexity etc.
If this is an option for you please post your question to the Crystal .NET development forum. Also, you will need to use 12.x.2000.x versions of the CR .NET assemblies and not use the basic version 10.5 or 10.2 that comes with .NET 2008 and 2005.
Thank you
Don -
Database Expert -- Views at End of Alpha List Do Not Appear
I'm working with an MS-SQL database. All the table in it, from A to Z show up. The DB vendor wants us to use views to access data for reports, however. And looking at the list of views in the Database Expert -- the list is cut off in the vwRs.
So for example, vwPersons is visible, as is vwReports.
But vwTopicCodes, in same DB, and at least 40 other tables from vwSales to vwZipCodes, do not appear.
Any logical place to start looking for the cause of this kind of behavior?
Thanks,
Ridge (in New Joisey)This article may help you
KBase Article ID:c2013280
Article refers to: Crystal Reports XI Crystal Reports 10 Crystal Reports .NET Crystal Reports 9 Crystal Reports 8.5
Symptom
In Crystal Reports (CR), when connecting to a database that has 10,000 objects, only 8,000 of these objects are returned.
Why does CR only return 8,000 database objects?
Cause
The number of database objects returned to CR is determined by the setting in the Windows Registry. The default value for this registry setting is 8,000. You can change this default value by editing the Windows registry setting, NTablesMax.
NTablesMax - specifies the number of database objects to get a listing of from the database. Once this number is reached the listing of objects in Crystal Reports is stopped. Objects can include tables, views, synonyms and stored procedures.
Resolution
====================
"WARNING:"
"Using the Registry Editor can cause serious problems that may require reinstalling the operating system. Business Objects is not responsible for any problems resulting from using the Windows Registry Editor. Use the Registry Editor at your own risk. It is recommended that you back up the registry before you edit it."
====================
To access the NTablesMax item in the registry:
1. On the Start menu, click Run.
2. Type "Regedit", then click OK. The Registry Editor will appear.
3. Browse to the following folder:
CR XI Release 2
HKEY_CURRENT_USER\Software\Business Objects\Suite 11.5\Crystal Reports\FetchOptions
CR XI (Release 1)
HKEY_CURRENT_USER\Software\Business Objects\Suite 11.0\Crystal Reports\FetchOptions
CR 10
HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports\FetchOptions
CR 9
HKEY_CURRENT_USER\Software\Crystal Decisions\9.0\Crystal Reports\FetchOptions
CR 8.5
HKEY_CURRENT_USER\Software\Seagate Software\Crystal Reports\FetchOptions
4. In the right-hand window of the Registry Editor, double-click NTablesMax. The 'Edit DWORD Value' dialog box appears.
5. Select Decimal.
6. In the Value Data text box type "10,000". Click OK.
7. Close the Registry Editor and then restart your computer.
The next time you open Crystal Reports, you will be able to see all 10,000 database objects.
Regards,
Raghavendra -
Table Link on the same page in Numbers '09
I didn't word this correctly but I will try to explain what I'm trying to do.
I have a sheet of birthdays, which is only 2 columns and its sorted by date. I want to have the table continue the sorted information on the same page. For example, There are 4 pages each with 2 columns, I want to put as much information on one page like 1/1 - 5/5 on the first half of the page then continue 5/6 - 8/30 on the second half of the page, maintaining it being sorted.
I'm not sure if this made any sense, but an example would be in pages if I have 2 text boxes and link them the information will spill into the next text box.I came up with what may be a better idea after writing all this. But rather than delete it, here is my first idea:
Numbers does not have page breaks and I can't think of a way to do what you want the way you are asking. But what you can do is use your original table as a master and have several other, smaller tables that break it up as you want. For instance, a table that has only birthdays in January 2009 could be constructed with the following formula in cell B2 (the date column) and A2 (which I am guessing is the person's name):
B2=IF(AND(Table 1 :: B2>DATE(2008,12,31),Table 1 :: B2<DATE(2009,2,1)),Table 1 :: B2,"")
A2=IF(B2="","",Table 1 :: A2)
This table should be longer than your master table. It should be longer than you think your master table will get. Otherwise the dates at the bottom of your master table, as you add to it, will not be transferred over.
After you have those formulas in columns A and B, go to the reorganize panel and choose to show rows where column B is not blank. That will hide all the blank rows. And you can sort it.
Create other tables for your other groups of dates. You'll have to sort each table separately if you add more birthdays to your master table.
You can arrange your tables on the page so several of these tables are side by side. I would not recommend arranging them with any above another.
If you want to get fancier, you can use two header cells of each table to specify the start and end dates. Then, instead of hard coding the dates into the formula, you would reference those two cells.
Maybe you are looking for
-
Purchased iphone years ago using our only email address and recently this year my husband finally decided to get the iphone 4 using our email with no intentions on syncing it to computer. In July I purchased the iphone4 and just recently installed t
-
How do I disable Firefox from opening at login
I unclick the option that tells firefox to NOT open at login, but when I log back on, it opens again and shows the 'open at login' option as 'clicked' How do I disable? thx
-
Macbook Pro 13" mid 2009 Kernel Panic
Hello and Good day this is my first Post in the forums and i have this problem with the kernel panic screen i just got 1 kernel panic in all the time i have the macbook and recently when i use the personal Hotspot from my iphone 3GS (16GB iOS 4.3.1)
-
PSM-FM Reducion in the clearing document
Dear colleges, We have PSM-FM with payment Bdgt (ERP2005) and active splitting document in new flex ledger. After we created a clear document for FI payment and invoice (F-32 or F-44) we get in the FM document for invoice items with Amount types: 1 O
-
Custom EQ settings missing in 10.1
It seems that my custom eq settings are missing in a project after the upgrade to 10.1. Audio clips that I know I adjusted now just say "Flat(edited)" but I don't see any way to see what the edits actually are. The sliders are all flat.