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!

How to Add a Derived Column To Existing CR

Status
Not open for further replies.

JohnBates

MIS
Feb 27, 2000
1,995
US
Hi Crystal experts,

I have a simple report that displays columns for Qty Ordered and Qty Shipped.

I want to add a new column called Net Qty. I suppose it will require a formula to compute (Qty Ordered minus Qty Shipped).

This should be so easy, but I can't seem to find how to insert a new column.

Can anyone help me ? I'm using Version 8.

Thanks alot,
John
 
You can also do this using SQL Expressions.

In SQL Server it would look like:

{table.Qty Ordered} + {table.Qty Shipped}

This will place the processing on the database, improving performance.

Now you can place that SQL Expression field anyplace on the report, and use it in aggreates (sums, etc).

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top