Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank fields change average values
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00435828
Message ID:
00435857
Views:
23
>You could try to encorporate the ISNULL function in your averaging...
>What I'm thinking is either:
>
>a) SET FILTER TO NOT ISNULL(cFieldname) before you run the report
>or
>b) In the print when clause of the field containing the variable calculating the average.
>Put NOT ISNULL(cFieldExpression)...
>
>I have many problems with NULL fields when I connect to oracle...But haven't dealt directly with this particular problem.

Tim,

FYI -- The "Print When" clause is only used to determine whether or not to print the field. Calculations do NOT honor this setting and will calculate, regardless of the "Print When" setting.

Cathy
Cathy Pountney, Microsoft Visual FoxPro MVP
Memorial Business Systems, Inc. (www.mbs-intl.com)

My Website: (www.frontier2000.com)
My Blog: (www.cathypountney.blogspot.com)
My Book: The Visual FoxPro Report Writer - Pushing it to the Limit and Beyond
Free MSDN Article: What's New in the VFP 9.0 Report Writer
Free MSDN Article: The VFP 9.0 Report Writer In Action
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform