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

Using select expert after formulas are calculated

Status
Not open for further replies.

mbutch

Programmer
Joined
Nov 17, 2000
Messages
100
Location
US
I'm using SCR 8 and I just want to see the products where the Low Level number is greater than the Units In Stock number. The problem is that the low level is based on other formulas and the select expert tells me 'This formula can't be used because it must be evaluated later'. Is there a way to tell SCR to perform the selection after the formulas are calculated. I tried putting the WhilePrintingRecords function in the select experts edit formula area, but it does not work. Any ideas?
 
hello

What you can try is the EvaluateAfter() function, where you place the formula you want evaluated first in the brackets.

let me know if this helps. E. McEvoy
Crystal Reports Consultant
 
I'm still getting the same error.
 
You can't use "WhilePrintingRecords" for selection. You can usually use a formula based on a subtotal in the group selection formula (which is what I think you are trying to do.). To know for sure, show us the selection formula, and the code of any formula fields involved. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top