INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

ReportViewer in VB.NET 2013

ReportViewer in VB.NET 2013

(OP)
I have a form (frmReport_100_14) where I have a ReportViewer control (repview_100_14) and a dataset (dst100_14), BindigSource (TAB_100_14BindingSource), and a TableAdapter (TAB_100_14TableAdapter) to create a simple report. All of these pieces are set up to connect to my Oracle data base and I can see my basic report setup on rdlc file (rep_100_14.rdlc).

I did add a text box onto the rep_100_14.rdlc file (TextBox15) and typed some text into it (although this text does not show in any of the text box’s properties, I don’t even see the Text property of this TextBox15). All of that display my report OK, but I would like to populate the text in TextBox15 dynamically from code instead of having it hard-coded.

How can I refer to this text box from my code, and where would I do it in the code?

I guess this is the code that starts my report

CODE

Public Class frmReport_100_14

    Private Sub frmReport_100_14_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Me.TAB_100_14TableAdapter.Fill(Me.dst100_14.TAB_100_14)
        Me.repview_100_14.SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout)
        Me.repview_100_14.RefreshReport()
    End Sub 

Have fun.

---- Andy

A bus station is where a bus stops. A train station is where a train stops. On my desk, I have a work station.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close