Solved

Business Objects Prompt Filter

Posted on 2010-11-29
6
1,471 Views
Last Modified: 2012-05-10


I have a task of creating a report where I have to get the list of employees who were born in a particular month based on the Month End Date Entered. I used both below prompt filters,

to_char(( HRMART.EMP_DIM.BIRTH_DT ),'MM') =to_char(to_date(@Prompt('Enter Month End Date:','D',,,),'MM/dd/yyyy'),'MM')

(or)

to_char(( HRMART.EMP_DIM.BIRTH_DT ),'MM') =to_char(to_date(@Prompt('Enter Month End Date:','A',,,),'MM/dd/yyyy'),'MM')


but I get this error "Database error: ORA-01843: not a valid month. Contact your Business Objects administrator or database supplier for more information. (Error: WIS 10901)"

Can someone suggest on how to do this?

Thanks in Advance
0
Comment
Question by:nani11
  • 3
6 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 34234658
Is the prompt working?

Try entering the date in the system format based on the regional settings.

mlmcc
0
 
LVL 1

Author Comment

by:nani11
ID: 34234985
What is 'system format based' date?
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 34235763
The regional settings under control panel

mlmcc
0
 
LVL 34

Accepted Solution

by:
James0628 earned 500 total points
ID: 34236839
I wonder if it might be because one or more records don't have valid dates in that field (as opposed to a problem with the prompt).  You could try something like the following instead and see if you get the same error:

to_char(( HRMART.EMP_DIM.BIRTH_DT ),'MM') ="11"


 If so, then you've apparently got one or more records where BIRTH_DT is not a valid date and you'll need to figure out what those invalid values are and how you want to handle them.

 James
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 34434257
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This video discusses moving either the default database or any database to a new volume.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now