I have created Data Report which is linked with SQL Server database. my problem is i want to print this report without showing the report. i succeded some part, it means that the report is printing without showing the report with the follwing code

datareport1.printreport

Whenever I do a call from VB with passing parameter it is printing with First parameter value,even iam sending another parameter still it is printing with first one. i used the folwing statement

Datareport1.refresh
datareport1.printreport


Can anyone help me with the command to refresh the Datareport1?
so,plz help me reg. this asap

with advance Thanks
anil