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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Specified Group using formula???

Status
Not open for further replies.

bv0719

MIS
Dec 19, 2002
131
US
Here's my situation. I need to create a budget report based off my general ledger numbers. The numbers are setup as xxx.xxxx. Crystal only sees the first 3 numbers when I browse the data field. In order to see the .xxxx I need to format the number field in the report. My problem is the numbers after the period are the department numbers. I need a report to show the budgets by department. So far I've created a group based off the GL title. This provides a list of all departments for a specific "title" name, i.e. Auto Expense. How can I create a report to show all of the department totals using the .xxxx portion of the GL number? I'm sure I need to use a formula but not what formula would best fit this question. Any help would be appreciated.
 
Create a formula :

right(totext({Number},4,""),4)

replace the italics with the field name.

Does this help?


Reebo
Scotland (Sunny with a Smile)
 
I get a message that the result of the selection formula must be a boolean.
 
Don't put it in the record selection formula, create a new formula field.

In Crystal report 9, View>Field Explorer>formula fields-right click-new

In CR8 & 8.5 Insert>formula

or something like that...

Reebo
Scotland (Sunny with a Smile)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top