| THE META-HTML LANGUAGE REFERENCE MANUAL

| [TOC] |

## Manual Page Viewer

Name: DATABASE-LOAD-RECORD

Section: Database Commands

Synopsis:

`<database-load-record DBVAR KEY [PREFIX=PACKAGE-NAME]>`

Description:

Load the variables from the record specified by KEY in the database referenced by DBVAR. If PREFIX=PACKAGE-NAME is given, the record variables are stored into the specified package, instead of the current package.

Upon success, this function returns the string `"true"`.

    <with-open-database db /tmp/file.db mode=read>
      <set-var loaded? = <database-load-record db <get-var name>>>
    </with-open-database><p>
    <when <get-var loaded?>>
      The record was loaded successfully.
    </when>

Edit Pointer
Function Index
Variable Index
Variable Editor

The META-HTML Reference Manual V1.4 Copyright © 1995, 1996, Brian J. Fox, 1996, 1997 Universal Access Inc.
Found a bug? Send mail to bug-manual@metahtml.com