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
Date Syntax
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
314
Members:
0
Total:
314
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
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
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
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
1372
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
Date Syntax
Please
login
to post a reply.
23 Replies
0
Subscribed to this topic
22 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
jojo.serquina
Veteran Member
Posts: 63
1/7/2008 4:06 PM
Completely new to Crystal Reporting:
The field "SCHED-DATE" in an Oracle table displays "01-Jan-2008 12:00:00 AM"
When i try to run the following formula: {REVIEW.SCHED-DATE} in {?Beginning Date} to {?Ending Date}
Diplays Zero (0) result. And I know for a fact that these records exists.
I set up the parameter fields (Beginning Date & Ending Date) to "Date". During execution, the only accepted format is "yyyy-mm-dd".
I've also tried changing the formula this way:
ToText({REVIEW.SCHED-DATE}, "YYYY-MM-DD") in ToText({?Beginning Date}, "YYYY-MM-DD") to ToText({?Ending Date},"YYYY-MM-DD")
Still no records returned. Please help...
jojo.serquina
Veteran Member
Posts: 63
1/7/2008 5:44 PM
Small progress.... I don't like this solution but it works.
Create "String" Parameter Fields (StartDate & EndDate) - prompt user to enter "yyyy,mm,dd" format in entering date.
Use formula:
{REVIEW.SCHED-DATE} in Date({?StartDate}) to Date({?EndDate})
Chris Martin
Veteran Member
Posts: 277
1/7/2008 7:43 PM
Try this: In Crystal, go to File --> Options --> Fields --> Date and Time (button) --> Date and Time (tab)
Select a date only style, for example "03/01/1999"
Change your beg and end date parameters back to a type of "Date".
Now try your original selection criteria (ie {REVIEW.SCHED-DATE} in {?Beginning Date} to {?Ending Date}
)
jojo.serquina
Veteran Member
Posts: 63
1/7/2008 9:17 PM
Thanks, Chris.
I did as suggested. When I loaded the report to LBI and executed the report, it prompted me for the dates parameter using "01/31/2000" format. When I click "Run", another date parameter window appears - this time, it's asking a "yyyy-mm-dd" format, and right underneath the form shows a "Business Objects X" with a red x. If I then enter the dates in the format requested, then the query executes.
Any thoughts?
Wish I could post images.....
Chris Martin
Veteran Member
Posts: 277
1/7/2008 9:30 PM
What version of LBI are you on?
jojo.serquina
Veteran Member
Posts: 63
1/7/2008 9:41 PM
good question.... let me find out really quick.
jojo.serquina
Veteran Member
Posts: 63
1/7/2008 9:42 PM
Version: 9.0.2.1.60
Chris Martin
Veteran Member
Posts: 277
1/7/2008 10:24 PM
Do you have RAS installed on a server separate from LBI?
John Henley
Posts: 3353
1/7/2008 10:29 PM
Jojo, are you having this problem in Crystal Reports itself, or when running the report after publishing to LBI?
jojo.serquina
Veteran Member
Posts: 63
1/7/2008 11:31 PM
after publishing it in LBI. I can only test the report in LBI because Crystal Report shuts down when I try to run the report. Error log says that there's something wrong with crqe.dll - but I've done everything I know of to repair it, yet haven't been able to fix the problem...
as far as RAS, if that stands for the Crystal server, then no. It is installed on the same server the LBI is on.
Chris Martin
Veteran Member
Posts: 277
1/8/2008 2:28 PM
Do you have Crystal Reports installed on the LBI server? It's recommended that you do not. As far as your issues with Crystal Reports, what version are you working with? Have you tried reinstalling? Have you applied the latest Service Pack and Fix Pack?
Regarding the "red x" you are seeing at the parameter page in LBI, it sounds like the LBI jar files are not in synch with the RAS jar files. I would open an LIS ticket. Have you applied the RS update for 9.0.2.1?
jojo.serquina
Veteran Member
Posts: 63
1/8/2008 2:54 PM
I'm using CR XI - Pro
I didn't know about the CR not recommended to be installed within the LBI server. The reason being, I've installed the CR in my local PC, but when I tried to create an OLE DB connection, the Lawson OLE connector is not there > - so I kept the CR in the LBI server.
As far as updates, I checked for updates via the CR help menu and returned no updates for CR.
I will try to open and LIS ticket, today to see if if gsc can help.
John Henley
Posts: 3353
1/8/2008 3:00 PM
I have not had any problems with having Crystal Reports XI and RAS installed on the same box. One recent install did have a very subtle error which was in the install, where it didn't copy the crystalviewers* subdirectory to the LBI directory. In this case (and in Jojo's case, I think that GSC will reject this as an installation issue, and point you to needing some consulting help.
Jojo, The reason the Lawson OLEDB connector is not on your PC is because it needs to be installed as a separate component.
I would concentrate first on getting this report to run correctly within Crystal Reports before troubleshooting the LBI aspect of it.
Chris Martin
Veteran Member
Posts: 277
1/8/2008 3:56 PM
Agreed on resolving any CR issues before spending too much time on the LBI issues.
I also have not had any problems having CR and RAS on the same box, but Lawson Support will advise against if it comes up during a ticket.
Previously I said the jar files are out of sync but meant crystalviewer files, which is the issue John is referring to (a symptom of which is the [i]"Business Objects X" with a red x"[/i] on the LBI parameter page with some types of date parameters). If you open a ticket with Lawson Support, they will likely advise you to 9.0.2.2, but if pressed can provide a manual workaround to resolve this issue (essentially syncing up the crystalviewer files).
Chris Martin
Veteran Member
Posts: 277
1/8/2008 4:02 PM
Here's the manual workaround:
Stop RS.
Make a back up of the following folder: ...\LawsonBusinessIntelligence\ReportingServices\...\crystalreportviewers11
Replace it with the crystalreportviewers11 folder from ...\Program Files\Common Files\Business Objects\3.0\
From the backed up crystalreportviewers11 folder copy WEB-INF and META-INF, paste these into your new crystalreportviewers11 folder.
Delete the contents of ...\LawsonBusinessIntelligence\ReportingServices\...\WEB-INF\lib
and replace it with the contents of:
...\Program Files\Common Files\Business Objects\3.0\java\lib
Any files that existed in the ...\LawsonBusinessIntelligence\ReportingServices\...\WEB-INF\lib folder but not in the ...\Program Files\Common Files\Business Objects\3.0\java\lib folder
-OR-
...\LawsonBusinessIntelligence\ReportingServices\Reporting Services.ear\...\crystalreportviewers11 but not in ...\Program Files\Common Files\Business Objects\3.0\
will need to also be copied over from the back up folder you create.
Restart RS.
jojo.serquina
Veteran Member
Posts: 63
1/8/2008 6:27 PM
cool. I'll try this workaround to see if it'll fix the problem.
... made by head loopy reading it, but it makes sense
Thanks, gentlemen. I'll report back in a few.
jojo.serquina
Veteran Member
Posts: 63
1/8/2008 6:31 PM
nevermind... found it.
jojo.serquina
Veteran Member
Posts: 63
1/8/2008 8:15 PM
Chris, I performed that workaround and CR is still not working right. It's shutting down in the middle or a report being processed.
"Faulting application crw32.exe, version 11.0.0.895, faulting module unknown, version 0.0.0.0, fault address 0xf08c15ff."
Google results isn't much.
Chris Martin
Veteran Member
Posts: 277
1/8/2008 8:41 PM
The workaround is to address the LBI issue you reported ("red x" on the parameter page). This will not address the issues you are having with Crystal Reports (CR)
I would try reinstalling CR, or install the OLE DB connector on your local pc where you also have CR installed and see if you still get this error. If you do, I would recommend 1) patching CR XI (search the Business Objects website for CR XI service packs), and if that doesn't resolve it 2) then reinstall CR XI and reapply the latest CR XI service pack
John Henley
Posts: 3353
1/8/2008 8:47 PM
Jojo, going back to the first post..."The field "SCHED-DATE" in an Oracle table ..." What type of data source are you using for this report? Is it an Oracle ODBC, Oracle OLEDB, Lawson OLEDB? Etc. etc. The first thing you need to do is get the PC straightened out...so that you can create and run a simple Crystal report against the Oracle database, then add the Lawson OLEDB connector, and create a report using that. The problem is that you're trying to troubleshoot three separate issues without resolving the main one--that you can't get the baseline report to run on the PC.
jojo.serquina
Veteran Member
Posts: 63
1/8/2008 8:53 PM
Oh ok. I understand what you're saying, Chris. I'll look for the the lawson OLE DB connector and install on it on my PC - I'll test and will let you know.
John, I'm using Lawson OLEDB. Simple reports will run just fine. I can run a different report with a simple query to one specific table and collect all the information requested. I can also run a repot with a little bit more complex query, but only if I'm asking for ONE specific record. If I do range... (ie from this employee # to this employee # or from this date to that date), CR will then shutdown. I have not tried creating a report using a different connector - I will try the Oracle connector and see if that works.
Thanks again!!!
jojo.serquina
Veteran Member
Posts: 63
1/8/2008 10:17 PM
I created a new report using Oracle OLE DB and it works just fine - it's a lot faster too. It leads me to believe that there's something wrong with the Lawson OLE DB connection.....
John Henley
Posts: 3353
1/9/2008 1:26 PM
Jojo, the Lawson OLEDB provider will always be slower than the native database (Oracle in your case) provider, since it's operating over the web server, and also adds additional layers for security, etc. See
https://www.lawsonguru.co...Crystal-Reports.aspx
for a more thorough discussion...
jojo.serquina
Veteran Member
Posts: 63
1/11/2008 12:08 PM
Make sense.
I've got another issue at hand, so I'll get back into this as soon as I finish the other... custom security.
Please
login
to post a reply.