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!

Crystal Reports for Peachtree

Status
Not open for further replies.
Jul 23, 2003
1
US
I am using Peachtree Accounting system to pull my data from in Crystal Reports.

I need to roll- up some of my account numbers. For example, I want all 4101 ,4102 etc to roll up into 4100 account number. How can I do this?
 
Group on a formula containing:

left({table.accountnumber},2), or whatever it's called.

If it's a numeric, use:

left(totext({table.accountnumber},0,""),2)

-k
 
Create a formula field:

@RollUpAccount
truncate({accountNumber}/100)*100

This should return 4100, 4200, 4300, etc.

Then group on this formula field.

Software Sales, Training, Implementation and Support for Exact Macola, eSynergy, and Crystal Reports
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top