Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2008 > BOOK: Microsoft SQL Server Reporting Services Recipes: for Designing Expert Reports
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Microsoft SQL Server Reporting Services Recipes: for Designing Expert Reports
This is the forum to discuss the Wrox book Microsoft SQL Server Reporting Services Recipes: for Designing Expert Reports by Paul Turley, Robert M. Bruckner; ISBN: 9780470563113
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Microsoft SQL Server Reporting Services Recipes: for Designing Expert Reports section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old February 19th, 2013, 01:08 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Feb 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Microsoft.ReportingServices.ReportProcessing.OnDem andReportObjectModel.Variable


I just can't complete the exercise on page 100: "Nested group green bar effect".

The visual basic code snippet on page 103:

Public Function IncrementVariable(var as Microsoft.ReportingServices.ReportProcessing.OnDem andReportObjectModel.Variable) as Double
var.Value = var.Value + 1
return var.Value
End Function

keeps giving me an error:

Error 1 There is an error on line 1 of custom code: [BC30526] La propriété 'Value' est 'ReadOnly'. G:\PROJET\SQL Server Databases\AdventureWorks2008R2\Exercices\Rapports\ NstGrpGrnBar_Exercice-p101\NstGrpGrnBar_Exercice-p101\NstGrpGrnBar_Report.rdlc NstGrpGrnBar_Exercice-p101

My current environment is the following:
  • Windows VISTA SP2
  • Visual Studio 2010 SP1
  • SQL Server 2008 R2 Express Edition with Advanced Services SP2 CU1
I typed/built the report from within Visual Studio 2010 report designer. It just keeps giving me the error mentionned.

Also, I observed that from "Report Properties", when creating a variable, the "readonly" checkbox is not there.

I would expect the VS2010 Report designer to work just like the Report Builder 3.0 but I not so sure to be honest.

My question is how I can make this work. Is this a simple setting in VS2010 or else in SQL Server 2008 R2? I really don't know.

Hope someone will be able to help.

Thanks in advance,



I don't know why but, when publishing my post, "Microsoft.ReportingServices.ReportProcessing.OnDem andReportObjectModel.Variable" got changed to "Microsoft.ReportingServices.ReportProcessing.OnDem andReportObjectModel.Variable" as your publisher inserted by itself a "blank space" between "...OnDem" and "andReport...". But I assure that there was no blank space in my typing. Funny thing is that when I came back to edit my post, while editing, those spaces were not there... I saved and same problem again. Edit again, no spaces. Save again, still same problem.

Last edited by CinfoSB; February 19th, 2013 at 05:31 PM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Invite: Chat About Microsoft Office and Windows with Microsoft MVP Experts HiTechCoach Access 0 October 13th, 2010 05:11 PM
"object variable or with block variable not set" netfresher ASP.NET 1.0 and 1.1 Basics 1 June 12th, 2006 03:50 PM
[Microsoft][ODBC Microsoft Access Driver] Syntax e chinedu Classic ASP Databases 3 November 18th, 2004 02:48 PM
Microsoft Works to Microsoft Access lryckman Access 4 April 12th, 2004 03:17 PM

All times are GMT -4. The time now is 09:15 PM.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.