VA FileMan V. 22.2 Programmer Manual Banner


 

Main Chapter Getting Started Manual Advanced User Manual

Classic VA FileMan API


EN1^DIWF: Form Document Print with Known Document

Reference Type Category ICR #
Supported Classic VA FileMan 10012
Description

This entry point is used when the calling program knows which file (document file) contains the desired word-processing text to be used as a target document.

Input Variable
DIC

A file number or a global root. The file identified must contain a word processing field.

Output Variable
Y

This will be -1 only if the file sent to DIWF in the variable DIC does not contain a word processing field.

Example
>S DIC=16001 D EN1^DIWF

The user will then be branched to the "Select DOCUMENT:" prompt in the dialog described in ^DIWF to select a particular entry in the Form Letter file.

 


Reviewed/Updated: June 2026