I started to implement a new Report based on SRSS and Four Classes: Controller, Contract, UI Builder and RDP Class. More or less I solved the problems I found but I have some doubts problems I don't know how to solve it.
a) It is clear that in the main method in controller is where I can get the args to get the current recId where I want to display information. In my case it is a sales line or ProdTable record. My doubt is how can I find out which kind of table it is? Depend on the table (sales or production) I need to generate different information. I guess the place to assign this information in the contract is via preRunModifyContract. is It correct?
b) As I comment at the beginning of the post I use UI Builder to allow the end user to choose several options in the report (for instance display or hide some kind of information). This part works fine but my problem is the debugger cannot stop in a breakpoint inside my processReport Method in RDP class. I guess the responsible it is the UI Builder class because in other reports I can do it. What' s wrong?
Hi Roger M.,
1) You can initialize contract in different places like prePromptModifyContract (if you need to show this values), preRunModifyContract or create your own init method to call it from main. Then you need to add some logic to DP to populate data base on contract.
2) Please follow this technet article to configure environment for debugging of SSRS data providers technet.microsoft.com/.../gg724081.aspx