below is a link for my screenshot
[IMG] [/IMG]

in my sreenshot it must print all what it is in in column1 which is:


DataReport6.Sections("Section2").Controls("label1").Caption = DataGrid1.Columns(1)

plz help..

tnx.. :)

Recommended Answers

All 3 Replies

try to insert report textbox on the data report then set its Data Field Property to the database field name

can anyone help me how to update the report when you add new records in datagrid.tnx

You can either use DataEnvironment or do what arvin said.

Use rptTextbox control and set the datafield. Regarding the connection, use SQL statements on the button that shows(print) the datareport.

@jovicmon21, please don't highjack someones thread, Start your own.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.