Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How come If formula does not show result in report?
Message
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
00673981
Message ID:
00673988
Views:
29
What happens if you leave off the "WhilePrintingRecords"?

>Here's my code in my formula. I don't see why I am getting blanks in my report for this formula.
>
>
>WhilePrintingRecords;
>If {master.shock_agcy} startswith "FD ALS" then
>"ALS";
>If {master.shock_agcy} startswith "FD BLS" then
>"BLS";
>If {master.shock_agcy} startswith "AMB" then
>"AMB"
>
>
>I also tried If left({master.shock_agcy},6) = "FD ALS" then ...
>and so on. I don't think the compare is working, but I don't see why not. The field in the table is capital letters. Help please and thank you.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform