15,991,353 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by SmoothCriminel (Top 6 by date)
SmoothCriminel
9-Jan-11 7:50am
View
Great thankx... I will try and let you know. Now the only pending thing is last question. I know how to create summary field but the thing is how to have distinct count of specific value in a field? BR. SC.
SmoothCriminel
9-Jan-11 6:48am
View
Aha... I got it now. So, like this I don't even need to create any parameters. And on the java side I will create the selection formula and just send it to report. Will that be good option? Or it wont work. Thanks a lot for help.
SmoothCriminel
9-Jan-11 6:02am
View
The issue is with last "and" I believe. What ever input I give for the "DeptName" there is no where clause when I see the generated SQL.
SmoothCriminel
9-Jan-11 4:28am
View
Hi thatraja, thanks for response. Although I am working in java but even then its helpful. Thanks again.
It will be great if you can tell me how the formula will look, lets say I have fields EMPLOYEE.BIRTHDATE (type = date) & EMPLOYEE.WORKDEPT (string). Report has three parameters 1. FromDate (Date), 2. ToDate (Date) and 3. DeptName (String).
Now user will select dates and it can either enter or leave the DeptName field empty. If its empty then all departments should be selected otherwise the one it entered.
I have tried creating this formula:
{EMPLOYEE.BIRTHDATE} >= {?FromDate} and
{EMPLOYEE.BIRTHDATE} <= {?ToDate} and
If (StrCmp({?DeptName},"") = -1) Then
(
// Add statement here
{EMPLOYEE.WORKDEPT} = {?DeptName}
)
I know this is not correct... Can you please create it?
BR
SC
SmoothCriminel
6-Jan-11 12:14pm
View
Thanks a lot for detailed response... But I am talking about Java :)
BR
SC
SmoothCriminel
18-Dec-10 13:06pm
View
Thanks Amit.
Yup layer is the right word as compared to tier...
Show More