Previous - dbRsClose Section Home - Database Next - dbIsOpen


dbClose ( )

Explicit call to close an existing database connection.

Usage:

dbClose (object me)

Parameter:

None

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta").new( )
xtRose.dbOpen( "Provider=MSDASQL;ExtendedAnsiSQL=2;DRIVER={Microsoft Access Driver (*.mdb)};Dbq="&the moviepath&"main" )
xtRose.dbClose( )

Notes:

Close the database connection and any active recordsets in memory. This frees up all memory used to maintain the recordsets, database records and database connection.


Previous - dbRsClose Section Home - Database Next - dbIsOpen