output data from HTML/database to MS word? - html

I'm just wondering if it is possible to output data from a webpage to MS word? I'm trying to have a link on my webpage(HTML/JSP code), when clicked this automatically opens the MS word application and builds a report inside Word based on information stored in my database(MS Access). So the report can be easily edited before printed. This database is linked to my HTML/JSP coded website. Is this possible? Any help would be much appreciated, Thanks.

Related

Is there a way to automate saving a PDF version of an HTML formatted report whenever it is viewed in the browser?

I am working with SQL Server and C# to create individual employee reports. I am using HTML and CSS to format the reports and display in a browser. The customer also wants a printout of every report. I would like to have a formatted PDF version of the report automatically saved to a folder on the server whenever a report is viewed in the browser. I could create a process to print all of the PDF pages at one time.
With regards to the generation of the PDF, as it happens I had to do something similar a couple of years ago.
I was generating HTML reports from C# that I needed to convert to PDF.
There is a nuget package named OpenHtmlToPdf that uses wkhtmlopdf to convert HTML to PDF.
At the time I also wrote a bit of blurb on this subject on my blog here!
For your scenario, when the customer requests a report, on the server side you could generate the html as you are now. Then you could use OpenHtmlToPdf to additionally generate a PDF version on the server at the same time.
All you would then need to work out is how to get the PDF link address to the user (email, web link, etc)

Is there a way to globally change all the hyperlinks in all reports on a report server on SSRS?

We've just had one of our systems moved to a new server, along with 3600+ SSRS reports. All these reports contain hyperlinks. Unfortunately, none of these hyperlinks have been updated to point to the new server, and so are still opening items on the old server.
Instead of having to edit each hyperlink in each report, is there a way I can globally update the reports at the same time so that the hyperlinks point to the new server?
I thought running an update on the content field in the catalog table might do the job but apparently not from what I've been able to gather online.
Thank you for any help you can give.
Yep, normally it would be better to store your hyperlinks in a dataset.
I dont think you can do that globally, because your hyperlink is embedded in your report.
You can open your report .rdl file in text editor. In the text editor you can search for your hyperlink and replace it with the new value (search & replace). Well this still has to be done per hand for each report.
On top, you can write a small program in C#, .NET, etc... in which you pass your old and new hyperlink (single or as datatable). The program basically, opens all the .rdl reports and apply the search & replace then close and safe it.

Importing from fillable PDF data to MS Access vba

I do have more than 100 pdf files weekly filled that I have to run report on them. PDFs have same format, readable. All I want is to collect somehow all the data to access database. I do not have sharepoint and not using LiveCycle. I`m not bad at vba but I really could not think on how I would approach this. So I hope someone outthere had to go through it?

display multiple attachment in MS Access web

I would like to display all the attached documents on a record in a repeating form. The answer posted by Remou works (link below), but not on a web Access db.
Display multiple attachments in microsoft access 2010 forms and reports
Does anyone know of a way for me to do this either in a report or a form or do I have to click on the attachment window every time I want to see what documents are attached?
Cheers,
Tony

VBA Create PDF in background

I'm maintaining a VBA application in Access and a big part of this program is to make PDF's and email. I've already coded to create a PDF with PDF995, but the problem is that it keeps prompting where to save and a bunch of other questions.
Is there any solution that allows me to create PDF's in the background without prompting the user anything? I know where it needs to be saved, I know how it's going to be named, so that's not the problem.
Which Access version are you using?
In Access 2007 and above you can create PDF files out of the box, without stuff like prompting where to save.
Here's an example:
Execute Access 2007 Report and Export that Report to PDF Programmatically?
Note that in Access 2007, you have to install an add-in in order for this to work!
For Access 2003 and below, there's Steven Lebans' ReportToPDF.