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

formula field not showing up in "insert summary"

Status
Not open for further replies.

gabster

Programmer
Oct 23, 2001
192
US
hello!

I have a CR that I am using with a VB app through RDC. However, I created an empty formula field (it only has 0) and I pass the whole formula string from the VB.

this is how the formula looks in VB:

Report.FormulaFields.Item(25).Text = "if " & DateFieldName & " = {@included_days} then {Transactions.Amount_of_trans}"

The {@included_days} is another empty number formula field that receives its string from vb...

Anyway, the formula works correctly when I insert it in the details section, but when I try to insert a summary (or a subtotal or a great total) on it, the formula doesn't show up in the insert summary window fields.

Am I doing something wrong?

Thanks a lot!
Gabi.

 
Crystal may not want to do a total of a constant. Put your formula (a default version) in there to get the total to work, and then replace the formula contents from the app if needed. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top