By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,780 Members | 1,126 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,780 IT Pros & Developers. It's quick & easy.

Dynamically changing information on a reportview

P: 4
I have two "forms". On one I have a textbox and on the other I have a reportviewer.
I want to know how to change an item of information displayed on the reportviewer when I change the content of the textbox, please.

Thanks
rich
Dec 28 '07 #1
Share this Question
Share on Google+
5 Replies


100+
P: 274
Can you tell little more what you are looking for? or what you have so far
Dec 29 '07 #2

Expert 5K+
P: 8,434
The exact details will depend on what version of VB you're using (hint hint). But generally speaking, you would put some code in one of the event procedures attached to the textbox. This code would copy the value to the "reportviewer".

This is just general advice, as I don't know much about your situation.
Dec 29 '07 #3

P: 4
The exact details will depend on what version of VB you're using (hint hint). But generally speaking, you would put some code in one of the event procedures attached to the textbox. This code would copy the value to the "reportviewer".

This is just general advice, as I don't know much about your situation.
Hi, This is rich. Its good to know someone is there to help.
I am using visual basic 2008 version now. I am quite use to visual basic 6.
This is my first time using it the reportviewer. first, I want the code that will actually display on a reportviewer, the content of a textbox when i change it and after i hit a command button without restarting the program. second, i want
to be able to create a .mdb file, create tables, fields and manage the contents file from code. I can do that quite well with vb6 and SQL. Again i have a book on vb2005 databse programming, but it doesn't seem to work.

thanks
Rich
Jan 3 '08 #4

debasisdas
Expert 5K+
P: 8,127
I have two "forms". On one I have a textbox and on the other I have a reportviewer.
I want to know how to change an item of information displayed on the reportviewer when I change the content of the textbox,
you need to pass the sql statment dynamically from from1 to the report.
Jan 3 '08 #5

P: 4
you need to pass the sql statment dynamically from from1 to the report.
It wasn't helpfull
thanks
Jan 5 '08 #6

Post your reply

Sign in to post your reply or Sign up for a free account.