How to pass client side (User machine) current datetime to report(rdl file)
Hi All, I want to show report generation datetime on the report (rdl file). Every time generate report is click time on the current user machine needs to be displayed on the report. If i do DateTime.Now then it returns server timing. Need timing of user machine. Thanks
December 11th, 2011 3:01am

Trupti, If you are using Report Manager to execute this report then it's hardly possible. But if you using Report Viewer embedded into ASP.NET or SOAP API call to web service to execute your Reports then it's pretty simple with Parameter called ClientDateTime where you will be passing value of your client box's date time. In your report you just need to implement this parameter to display values to textbox in header/footer section (as per your requirements)Thanks, Sandip Please "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
Free Windows Admin Tool Kit Click here and download it now
December 11th, 2011 4:00am

Thank you Sandip. I am using Report Manager. Deploying report on reporting server. Using url access method to view the report in the asp.net application
December 11th, 2011 4:40am

Trupti, if you are making your URL dynamically then you can definately pass paramater value through url. Let me know if you have any queries.Thanks, Sandip Please "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
Free Windows Admin Tool Kit Click here and download it now
December 11th, 2011 4:55am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics