Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing information in Crystal report 2

Status
Not open for further replies.

Crystalamateur

Technical User
Jul 27, 2005
19
GB
Hi, I need some help please.

I have created a report to show the financial results for the previous year.

Our data consists of a main centre with individuals linked to that centre. In the group footer I have the following fields showing.
fbFINANCEINFO.UALPHA_2 (this is the main centre record)
fbFINANCEINFO.UALPHA_3 (this is the name of the centre)
fbFINANCEINFO.UALPHA_4 (this location of the centre)
Sum of fbFINANCEINFO.Amount Paid

Where the financial information is taken from more than one record, i.e individuals linked to the centre, the name and location are not showing in the report. Where finance is only taken from the main centre then the name & location is shown.
The financial details are fine.

Many thanks
Peter
 
You haven't identified your group field. If there is only one value for each of these fields per group, insert a maximum on them at the group level.

-LB
 
Hi LB

Sorry the group field is UALPHA_2

How do you inserta maximum value at group level?

Thanks
Peter
 
Place the fields in the detail section. Select one->right click->insert summary->maximum->select the group level.

-LB
 
HEY! I am having a similar problem with a formula stringing a name Last,Middle,First. It tried inserting a max value at the footer record, but it still didnt work. Any ideas, please? THANKS SO MUCH! Here is the formula:


// StringNameLFM

stringVar LName:= '';
stringVar SName:= '';
stringVar EmpName:= '';
If Not IsNull({HRPERSON.LAST_NAME}) then
LName:= Trim({HRPERSON.LAST_NAME});

If Not IsNull({HRPERSON.SUFFIX}) then
SName:= Trim({HRPERSON.SUFFIX});

Empname:= Trim(LName) & ', ' & Trim(SName) & ' ' &
Trim({HRPERSON.FIRST_NAME}) & ' ' &
Trim({HRPERSON.MID_NAME});
 
Well, well. I just found some instances of people with multiple items that DO have the name. So it must be something else wrong.
The groups are : Certification (field - C or N)
Selection (another formula - "New Hire" or
"Current Emp" depending on
hire date)
Last Name (field)
First Name (field)
 
Place your formula in the detail section along with the related fields to see if it is performing correctly. I think you should do a null check on the middle name, too.

-LB
 
WOW! Thanks! I didnt notice that people without a middle name were the problem.
THANKS AGAIN and have a GREAT weekend!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top