on 01-31-2012 10:26 AM
Dear Sirs,
In older versions of Crystal Reports (9, XI R2) we have used property ParameterFieldDefinition.UseCount to optimize report's parameter processing. In CR for VS2010 SP2 this property always returns 0. Why?
Greetings
Pavlo Ivakhiv
Here is the [API reference guide for CR for VS 2010 .NET SDK|http://help.sap.com/businessobject/product_guides/sapCRVS2010/en/crnet_api_2010_en.zip].
UseCount property was provided by / Inherited from FieldDefinition Class, which was used to get the number of times a field is used in a report.
Try the ParameterFieldDefinitions.Count Property which gets the number of ParameterFieldDefinition objects in the collection.
- Bhushan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is rather interesting. I found the following kB:
[1218478 - UseCount property incorrectly returned as '1'|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333433373338%7D.do]
The above applies to CR 9.1 (bundled with .NET 2003), CR 10.2 (bundled with .NET 2005) and CR 10.5 (bundled with .NET 2008).
ADAPT00202049 (e.g. fix request) was rejected by R&D, however a work-around is provided in the KB. While the KB specifies the issue is UseCount returning 1 as opposed to zero, I am pretty sure that creating a new fix request will result in the same rejection as for ADAPT00202049.
- Ludek
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.