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

Linking tables based upon formula result

Status
Not open for further replies.

stoopers

Technical User
Mar 23, 2005
17
US
I am attempting to write a report to categorize our revenue data. I have 2 tables: Revenue Data & Customer File, which are linked by the Customer Code.

Revenue Data:
Customer Code
Transaction Text (Customer Code + Invoice#)
Invoice#
Amount
Account
Dept

Customer File:
Customer Code
Customer Name
Category (ie. Coal, Oil, etc..)

I have the 2 tables linked by customer code (Left Outer Join). The problem arises when we book revenue via a journal entry. All of the fields on the Revenue Table are completed,except for the customer code. But I can get to the customer code on the journal entry records by using the Left(Transaction Text),10 formula. How can I relate this "formula" cust code to the Customer File to grab the Category field?

We are using Crystal 11 and iScala.
 
If you can't create a View that presents the computed column as customer code, then use a linked subreport instead of a join.

Cheers,
- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top