| Contents: | Main | Chapter | See Also: | Getting Started Manual | Advanced User Manual | |||
| Reference Type | Category | ICR # |
|---|---|---|
| Supported | Database Server (DBS) | 2055 |
The RECALL^DILFD API saves a record number for later retrieval using Spacebar Recall. While Classic VA FileMan has automatically performed this procedure for applications in the past, the VA FileMan DBS lookup calls cannot do so. The decision to perform this procedure can only be made by code that knows its context, which knows whether the selection taking place results from a user's selection or from some silent activity. In addition, VA FileMan often is inactive when a user selection occurs (e.g., when a user picks a single entry from a ListBox managed by the application). For these reasons, the maintenance of the Spacebar Recall feature is increasingly the responsibility of the applications.
RECALL^DILFD(file,iens,user)
| file |
(Required) The file or subfile number. |
| iens |
(Required) The IENS that identifies the record selected. |
| user |
(Required) The user number (i.e., DUZ) of the user who made the selection. |
Figure 203: RECALL^DILFD API—Example: Input and Output
>D RECALL^DILFD(19,"1,",9) W $G(DIERR) D ^%G <Enter>
Global ^DISV(9,"^DIC(19,")
DISV(9,"^DIC(19,")
^DISV(9,"^DIC(19,") = 1
Table 67 lists the possible error codes returned with the RECALL^DILFD API:
Table 67: RECALL^DILFD API—Error Codes Returned
| Code | Description |
|---|---|
| 202 | An input parameter is missing or invalid. |
| 205 | The FILE and IENS represent different subfile levels. |
| 401 | File # does not exist. |
| 402 | The global root is missing or not valid. |
Reviewed/Updated: May 2026