Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>dbsetdriver()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DBSETDRIVER()
 Return the default database driver and optionally set a new driver
------------------------------------------------------------------------------
 Syntax

     DBSETDRIVER([<cDriver>]) --> cCurrentDriver

 Arguments

     <cDriver> is an optional character value that specifies the name of
     the database driver that should be used to activate and manage new work
     areas when no driver is explicitly specified.

 Returns

     DBSETDRIVER() returns the name of the current default driver.

 Description

     DBSETDRIVER() sets the database driver to be used when activating new
     work areas without specifying a driver.  If the specified driver is not
     available to the application, the call has no effect.  DBSETDRIVER()
     returns the name of the current default driver, if any.

 Examples

     .  This example makes the "DBFNDX" driver the default driver.  If
        the driver is unavailable, a message is issued:

        DBSETDRIVER("DBFNDX")
        IF ( DBSETDRIVER() <> "DBFNDX" )
           ? "DBFNDX driver not available"
        ENDIF

 Files   Library is CLIPPER.LIB.


See Also: DBUSEAREA() RLOCK() UNLOCK USE

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson