Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SDT calculated fields with Stonefield Reports
Message
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00293103
Message ID:
00299955
Views:
45
>Hi Mat.
>
>The only thing I can think of is to trace the GetFields method of SFFieldCollection. Near the end of that method is code to handle calculated fields (you'll see a comment about that). Start tracing from there and see if it's adding the calculated fields to the fields collection.
>
>Doug

Doug,

Thanks, that was it. For some reason (?) when I added the calculated field, I only had the field names in the calculation without table prefixes. When the GetField method looked, it was interupting TYPE(lcExpr) to be "U". When I added the tables to the formula, the TYPE was "N". I can now see the calculated field in the reports.

Kind Regards,

Mat
Matthew Kennedy
Decision Support Technology Inc.

"I try to take one day at a time, but sometimes several days attack me all at once." ~ Ashleigh Brilliant

New Jersey Dot Net User Group
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform