Your SAS programs, embedded in web apps and elsewhere

Custom output from stored process to Word using add-in without using procs

Reply
Occasional Contributor
Posts: 16

Custom output from stored process to Word using add-in without using procs

Is it possible to create output with a stored process that can be placed in Word via the add-in, without using any procs? For instance creating a table that is impossible to create with proc report. With HTML there are tricks to write your own HTML code without using basic ODS functionality. So I wonder if that's also possible when using the add-in.

Occasional Contributor
Posts: 18

Re: Custom output from stored process to Word using add-in without using procs

With some careful processing you can add HTML and even JavaScript to a stored process.  It can be tricky to learn but does add to the robustness of the stored process.

You can find SAS Global Forum papers which describe the techniques.  However, in the newly released "The 50 Keys to Learning SAS Stored Processes" book you are guided through the process of adding HTML code or JavaScript code to a stored process. Using simple code, we build on each example until you have created a form that allows a user to upload a file that can be uploaded.  The book also shows many tips and tricks for writing and debugging stored processes.

Hope this helps,

Tricia

Ask a Question
Discussion stats
  • 1 reply
  • 337 views
  • 0 likes
  • 2 in conversation