Solved

Business Objects Prompt Filter

Posted on 2010-11-29
6
1,485 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 35

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

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

Suggested Solutions

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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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