Assumptions:
- We're going to assume that you can write a document to the user’s hard drive.
- If you can't, why can't you? If your IT group can stop you from saving, then they can create a folder that can be written to.
Add this code to a button:
@Command([FileExport];"Microsoft RTF";"c:\\Folder\\FileName.doc");
Screenshot in Lotus Notes Designer |
Word understands what to do with an RTF. To take advantage of that, we can save the file with a .doc extension and Word will open the document correctly. However, there could be margin issues. Make sure that the text in your document is in a table that has a width of no more than 6.5 inches (see this post for help). This will prevent clipping.
From a standards standpoint, we use the 6.5 inch table width on all our forms instead of using "Fit to Margins" settings. This gives us more control over how the user sees and interacts with the form.
From a standards standpoint, we use the 6.5 inch table width on all our forms instead of using "Fit to Margins" settings. This gives us more control over how the user sees and interacts with the form.
No comments:
Post a Comment