Problem in Crystal Report

Posted on 2014-03-07
Last Modified: 2014-03-14
I want to design a crystal report as shown below

In which data is placed in detail section. So I am currently able to print all data from table as displayed above. The problem is with REMARKS column. I want to write some remarks but note that remarks doesn’t comes from database. And I need to merge all rows(variable no of rows) in remarks column and display a message there.
How can I do that in detail section of reports.
Question by:ronipats
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
  • 2
  • 2
LVL 101

Expert Comment

ID: 39913837
Where do the remarks come from?


Author Comment

ID: 39914218
remarks text is a simple static text that i want to write in formula filed


formula name : @remarks
if <tablename.field name> = <some condition> then
     "All listed candidates are employees"
     "All listed condidates are Students"
LVL 35

Expert Comment

ID: 39914506
As I understand it, a single "remark" can apply to multiple detail records, and you want the field to extend down, through those records.

 But you're basing the value on a field, which could change with each record.  Could you have one record that's an "employee", then a record that's a "student", and then another record that's an "employee"?  If so, what do you do then, since you don't have multiple "student" records in the middle for the "remark"?

 Or do you have the records sorted/grouped, so that you get all of the "employees" and all of the "students" separate?

 If you're using a group to separate them, you could:
 Create a new group header section.
 Put your "remark" formula in that section.
 Check the "Can Grow" option in the field format, so the field will be extended as necessary.
 Right-click on the section label to the left of the new GH section, select Section Expert and check the "Underlay Following Sections" option.

 If you use the Underlay option, the new GH section, with your "remark" formula in it, will be "under" the detail sections, so they overlap, and your "remark" can extend through multiple detail sections.

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.


Author Comment

ID: 39916979
Hi james,
Record i will getting will be grouped. i.e. either i will get all employee record only or all student record only.
LVL 101

Expert Comment

ID: 39917435
Did you try putting the formula in the group header and underlaying the following sections?

LVL 35

Accepted Solution

James0628 earned 500 total points
ID: 39918282
mlmcc already asked, but did you try using the "Underlay" option like I described?  If you tried that and it didn't give you what you need what was wrong with it?


Author Closing Comment

ID: 39930910
thanks to all for providing solution.

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

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…
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor ( Top Charts is a view in which you can set seve…

688 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