Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Problem in Crystal Report

Posted on 2014-03-07
Medium Priority
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.

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.


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 2000 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

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…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

618 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