Discussion Locked

Data Report Header Problem

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
i am using VB datareport for printing report. but i don't know how to set report header dynamically? It means the report header will be depends upon the data which is entered in a vb form. so please help me

1 reply

by dsp_point22

try and pass string or whatever u wish to print a header to the report before show method eg

datareport1.title="Insert whatever u like"
datareport1.show

make sure u actually insert the title field in report header. u can also fetch desired string from database pass it to a variable and them print using the variable

This discussion is closed to new replies.