Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: What to use instead of FieldDefinition.UseCount Post Reply Post New Topic
Author Message
IoanaCr
Newbie
Newbie


Joined: 08 Aug 2011
Online Status: Offline
Posts: 1
Quote IoanaCr Replybullet Topic: What to use instead of FieldDefinition.UseCount
    Posted: 08 Aug 2011 at 10:44pm
I am using CrystalReports VisualStudio 2008. I need to know which fields from my data source are actually used on my report at runtime, including fields used in formula editor.
FieldDefinition.UseCount seamed to be what I needed, but this property is obsolete and returns true for all the fields in my datasource.
 
What object and properties should I use?    Iterating through all the ReportDocument.ReportDefinition.ReportObjects does part of the job but I still cannot find the fields used in formulas ( like format formulas  for supressing a section) .      If you have any ideea please help Cry.
 
Ioana
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.