Bt_Logout() Function

 

<< Click to Display Table of Contents >>

Navigation:  Support Functions >

 

Bt_Logout() Function

 

Previous pageReturn to chapter overviewNext page

 

Purpose

 

 

Log out user from Btrieve

 

 

 

Prototype

 

 

FUNCTION Bt_Logout

 

 

 

Description

 

 

Closes all tables and views, releases all cursors and buffers and logs the program out of Btrieve. Your program will need to execute BT_LOGIN() in order to perform any more BTrieve operations. BT_LOGOUT() is automatically issued when you end your program. Even so, it is good programming practice to explicitly call BT_LOGOUT() before ending your application

 

BT_LOGOUT() does not log out a user from a file server, which must be done in a separate operation.

 

Bt_LogOut() internally calles the Bt_CloseAll() functions to class all open files.

 

 

 

 

Example(s)

 

 

Example

* Log out before ending program

BT_LOGOUT()

QUIT

 

 

 

 

See Also

 

 

BT_LOGIN(), Bt_CloseAll()