Learn how to a build a cloud-first strategyRegister Now


Linking Multiple Tables

Posted on 2006-05-15
Medium Priority
Last Modified: 2012-06-27

Crystal Reports 11
I have 3 tables

1st table (Orders) has
Order Number, Customer Number, Employee Number, etc.

2nd Table (Employees) has
Employee Number, Name, Address, etc.

3rd Table (Customers) has
Customer Number, Name, Address, etc.

From Databse Expert, I link the (Orders) Customer Number to (Customers) Customer Number and display the Customer name on the Report

I link the (Orders) Employee Number to (Employees) Employee Number and display the Employee name on the Report.

The report will work fine if i only use only 1 of the 2 fields, Employee Name and Customer Name, but will not display both at the same time.

I get error msg. Failed To Retrieve data from Database. Details: 42000:[SoftVelocity Inc][TopSpeed ODBC Driver][Expected lexical element not found: <identifier> [Database Vendor Code: 10015 ]

P.S. I see that the Customer Number from the (Customers) is indexed with a red flag, also the Employee Number (Employees) is also indexed with a red flag.

Question by:repco
  • 4
  • 3
LVL 77

Expert Comment

ID: 16683703

Author Comment

ID: 16683774
Hi, Thanks for the quick reply but unfortunatly, the Software that is listed there is for Crystal Report 7 and i use CR11. I cannot find that registry key no where.
LVL 77

Accepted Solution

peter57r earned 750 total points
ID: 16683894
OK Try this one then - it is V10 but I guess it would apply to 11


Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.


Author Comment

ID: 16684717
Hi Pete,

Ok i followed the instructions. The only thing that does not explain well in these instructions is in Step #5

5. Add the correct join syntax for your database. Refer to the required information from step 1.

In their example below that, where it completed the final txt file, no where in those lines have OJSyntax stated there.

Example of the TXT file for the registry key update:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Crystal Decisions\10.0\Crystal Reports\Database\QueryBuilder\JoinBuilder]

Where would i put my StarEqual? Or do i have to? I tried just doing it the way the example did it without putting the StarEqual and it still did not work.

LVL 101

Expert Comment

ID: 16687270
What kind of link did you use?

Can you show the SQL?

LVL 77

Expert Comment

ID: 16688438

I can see your problem with the instructions.
It is not clear whether you include the line
or not.

I suppose you will have to try both, but I would guess that it is the instruction which is correct and the given example which is wrong.

You will need a different key for CR11.

Based on my machine, the key appears to be:
[HKEY_CURRENT_USER\Software\Business Objects\Suite 11.0\Database\QueryBuilder\JoinBuilder]

but check this on your own machine first.

Obviously you edit the registry at your risk.



Author Comment

ID: 16690471
I contacted softvelocity and they did not have an direct answer for me but told me to at least try these 5 entries sent by email. Out of the 5 i tried

[HKEY_CURRENT_USER\Software\Business Objects\Suite 11.0\Crystal Reports\Database\QueryBuilder\JoinBuilder]

As you can see the Crystal Reports documentation states to use StarEqual and not StarEqualJoinBuilder. Apparently the StarEqualJoinBuilder worked!

Thanks very much for your help!!
LVL 77

Expert Comment

ID: 16690525
Well done.


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question