TUNING


Populate command
Used in a Server.Load script to ensure that there are (NumMailNotesPerUser) documents in the current database.

This command locks the database to prevent other users from simultaneously performing another Populate command, gets the number of documents currently in the database, and adds documents as necessary.

Syntax

Populate (NumMailNotesPerUser) [folder]

Where:


Example

This example creates and initializes a mail file(s); documents are added to folder $Inbox.

Note: Text enclosed in asterisks (**) indicates comments.

changeto [MailServer]!!mail\mail[#].nsf mail46.ntf

**Make sure there are enough documents in mail database**

populate [NumMailNotesPerUser] $Inbox

**Open the current view**

open

**Close the view**

close

drop

Parent topic: Server.Load commands

Related reference
Server.Load script conventions