HowardHammerman
Instructor
I created a formula to check for missing data that were critical to another report.
The code was as follows:
When I inserted the field in the report I got the results that I expected.
I then tried to select records based on the formula field. However, the formula field was not in the list of report fields available to select upon. Do the formula need "whileselectingrecords" or some other such prompt?
The report has no sub-reports.
Thanks,
Howard Hammerman,
Crystal Training and Crystal Material
On-site classes and one-on-one coaching
Low-cost telephone/email support
The code was as follows:
Code:
numbervar F1 := if isnull({table.field1} then 1 else 0;
numbervar F2 := if isnull({table.field2} then 1 else 0;
local numbervar total := F1 + F2;
Total
I then tried to select records based on the formula field. However, the formula field was not in the list of report fields available to select upon. Do the formula need "whileselectingrecords" or some other such prompt?
The report has no sub-reports.
Thanks,
Howard Hammerman,
Crystal Training and Crystal Material
On-site classes and one-on-one coaching
Low-cost telephone/email support