Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7
This is the forum to discuss the Wrox book Professional SQL ServerReporting Services by Paul Turley, Todd Bryant, James Counihan, George McKee, Dave DuVarney; ISBN: 9780764568787
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 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 Search this Thread Display Modes
  #1 (permalink)  
Old July 6th, 2004, 01:44 PM
Authorized User
 
Join Date: Jun 2004
Location: Peterborough, Ontario, Canada.
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default Refer to Textbox.value in report

I don't HAVE to do this, but the amount of code in the work-around is getting rediculous.

I have a report that uses a number of data sets (5 actually). I want to be able to pull a value from a text field that (if we render from top to bottom) already has a value.

Textbox1 contains a number, I want to use that number in calculations that I make in a table later in the report (Textbox1 is not in a table, just on the page). Textbox 3 contains another number (Textbox1 + textbox2 values from dataset etc.).

Is there anyway to refer to the values in those boxes the way I can in ASP.net? I have tried Textbox1.value, textbox.Textbox1.value, Textbox1.Text...

I just keep getting an error saying it is undeclared.

I can't find in the BOL how to use global memory variables (which might be a way around this), or how to refer to the content of a text box.

Anyone have an idea how to do this?

Sandy Murdock MCP
__________________
Sandy Murdock MCP
  #2 (permalink)  
Old August 9th, 2004, 12:53 PM
Authorized User
 
Join Date: Jul 2004
Location: San diego, CA, USA.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Jmurdock: Did you find a way to solve the problem you posted here? I have similar question, I want to associate user input validation (javascript)to the text box. But, if we can not even get the value of the text box.... .do you mind sharing what you found related this issue? thanks.

  #3 (permalink)  
Old August 10th, 2004, 08:09 AM
Authorized User
 
Join Date: Jun 2004
Location: Peterborough, Ontario, Canada.
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Default

What I ended up doing is using the function (button, option...) and instead of referring to the text boxes I got the values from the appropriate data-set and re-did the math.

It's more typing but I got it to work. (It's not very elegant either).

I still don't know how to set up global memory variables (if it's possible) and would still like to if/how I can work with session variables of my own.



Sandy Murdock MCP
  #4 (permalink)  
Old September 24th, 2004, 08:32 AM
Registered User
 
Join Date: Sep 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You can reference the value of a textbox by using 'ReportItems!textbox1.Value'

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Refer to Rows and Columns RayL Access VBA 3 May 23rd, 2007 09:13 AM
Refer to a cell with a DataView bufanator VB.NET 2002/2003 Basics 2 January 11th, 2007 04:55 PM
refer to subform values stepdev Access VBA 2 December 7th, 2006 12:13 PM
how to refer another form khautinh General .NET 2 March 17th, 2004 01:29 PM
How to refer assemblies which are in GAC ? kishore_peddi C# 0 October 12th, 2003 09:09 AM



All times are GMT -4. The time now is 04:03 PM.


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