Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
Crystal and Lawson's OLE DB
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
John Bonin
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5270
People Online:
Visitors:
324
Members:
0
Total:
324
Online Now:
New Topics
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
S3 Customization/Development
JUSTIFIED RIGHT
1/15/2025 7:41 PM
Is there a way in Lawson COBOL to make a character
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1375
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Performance Management
Lawson Business Intelligence/Reporting/Crystal
Crystal and Lawson's OLE DB
Please
login
to post a reply.
12 Replies
0
Subscribed to this topic
22 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Bob Beverley
Advanced Member
Posts: 31
7/27/2006 7:01 PM
I'm able to generate reports in Crystal using the Lawson Connector (not by choice, but it's the way the client wants me to connect). Couple of issues:
1. When I first run the report I am prompted that the table isn't recognized and I have to respond 'No' to 'do you want to remove the table from the report'. However, the report runs successfully. Why is it that Crystal doesn't think it's a valid table?
2. When I view the SQL (Database/Show SQL Query) I get just a list of the tables with nothing else.
As I read the Lawson 'Reporting Services User and Administration Guide', it appears that I should be able to build my queries in Crystal (as opposed to creating them in Lawson's query builder) - but I am concerned that there seems to be a 'disconnect' between Crystal and the OLE DB connector.
John Henley
Posts: 3351
7/27/2006 8:35 PM
Split
What version of Crystal are you using to build the reports?
Bob Beverley
Advanced Member
Posts: 31
7/27/2006 9:09 PM
Split
Sorry for the delay I'll watch it a little closer - I'm using Crystal 11 and OLE DB Ver 9
Bob Beverley
Advanced Member
Posts: 31
7/27/2006 9:14 PM
Split
I should also mention that it's iSeries
John Henley
Posts: 3351
7/27/2006 9:18 PM
Split
When you create the report -- are you selecting the table from the table list, or are you using "Add Command"?
Bob Beverley
Advanced Member
Posts: 31
7/27/2006 9:24 PM
Split
Selecting from a list
Bob Beverley
Advanced Member
Posts: 31
7/27/2006 9:25 PM
Split
Is the add command preferred?
John Henley
Posts: 3351
7/27/2006 9:29 PM
Split
You definitely want to use "Add Command", which *should* bring up the Lawson query builder, and build the AGS query. That will fix both of your problems, in fact, when you view the SQL (Database/Show SQL Query), you will see the AGS query.
If "Add Command" does not bring up the Lawson Query Builder, you need to make a one-time registry tweak to connect the Lawson OLEDB provider to Crystal XI:
Save the following into a file (e.g. CRXI_Lawson.reg), and then double-click CRXI_Lawson.reg to load it into the registry:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\Lawson.LawOLEDBC.4]
"QueryBuilderFunctionName"="BuildQuery"
"QueryBuilderProgID"="LawQueryBuilder.Query"
Bob Beverley
Advanced Member
Posts: 31
7/27/2006 10:13 PM
Split
Thanks for your help - I can see now that if you're using ole db you 'have to' use the add command nad build the basic report with query builder and just format it in Crystal.
Linda Herrmann
Basic Member
Posts: 8
7/26/2007 6:47 PM
Split
John...
I'm using Crystal 9 with Query Builder 9.0.3.1. I'm on Lawson 8.1.0.4
When I click "Add Commmand" query builder does not launch. The Enter SQL Query box appears.
I have the same settings as you show above in my registry with one exception..
[HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 11.0\Crystal Reports\DatabaseOptions\Lawson.LawOLEDBC.4]
"QueryBuilderFunctionName"="BuildQuery"
"QueryBuilderProgID"="LawsonQueryBuilder.Query" --- Lawson is spelled out.
I scoured the Lawson KB. Their "fix" was to uninstall Crystal and uninstall Query Builder. Then install Crystal (first) and install Query Builder.
Needless to say, didn't work!
Any suggestions?
John Henley
Posts: 3351
7/26/2007 6:57 PM
Split
Hi Linda,
You'll need to add those registry keys under the "Crystal Reports" key for Crystal 9...those registry keys are for Crystal XI ...
For Crystal 9, I think it's under
[HKEY_CURRENT_USER\Software\Crystal Decisions\9.0\Crystal Reports\DatabaseOptions\Lawson.LawOLEDBC.4]
"QueryBuilderFunctionName"="BuildQuery"
"QueryBuilderProgID"="LawQueryBuilder.Query"
Linda Herrmann
Basic Member
Posts: 8
7/26/2007 7:16 PM
Split
Thanks John.
It worked but, in case someone else experiences the same issue as I, I did have to change it FROM
"QueryBuilderProgID"="LawQueryBuilder.Query"
TO
"QueryBuilderProgID"="LawsonQueryBuilder.Query"
Linda
John Henley
Posts: 3351
7/26/2007 8:17 PM
Split
Thanks. I think that changed from v4 to LSF9 version of the OLEDB provider...
Please
login
to post a reply.