[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FUNCTION  NetUse(<cDatabase>, [<lOpenMode>], [<nSeconds>] ,
                 [<aIndexes>], [<cAlias>])

     This function will open a database and any required indexes in
the current work area selected.  The database can be opened in either
SHARED or EXCLUSIVE mode.  You can pass the number of total seconds
that you would like to keep attempting to open the database incase of
an unsuccessful attempt.  You can also pass an ALIAS to be used when
opening the database.

     If the SetShowStatus() function call was set to True, the status
of retrying will automatically appear on the application screen as
required.

Parameters:
     cDatabase      Database file to open

     lOpenMode .T. for EXCLUSIVE mode or .F. for SHARED mode
               (Default of .F. mode if not passed).

     nSeconds  Total number of seconds to retry opening the database
               file incase of unsuccessful open operations
               (Defaults to 10 seconds)

     aIndexes  Enter a character string of the index to open or
               an array of indexes to open if there are more than
               one (ie.  "HELPSYS1"  or {"HELPSYS1","HELPSYS2"} )

     cAlias         Alias name to be assigned to this workarea

Returns:
     True if the database is opened successfully, False if not.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson