xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

DbSetDriver()

Retrieves and/or selects the default replaceable database driver.

Syntax

DbSetDriver( [<cRddName>] ) --> cPreviousRDD

Arguments

<cRddName>
This optional parameter is a character string holding the name of the RDD to select as current.

Return

DbSetDriver() returns a character string with the name of driver that is active before the function is called.

Description

The function exists for compatibility reasons and is replaced by function RddSetDefault().

Info

See also:RddSetDefault()
Category: Database functions , Database drivers
Source:rdd\dbcmd.c
LIB:xhb.lib
DLL:xhbdll.dll

Example

// see function RddSetDefault() for an example

Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe