A Btrieve application running on a workstation can access local, remote, or both local and remote data as follows:
The requester determines whether the data is stored on the workstation or on a remote server and routes the appropriate request to client-based Btrieve on the workstation or to the Btrieve NLM on a remote server.
The following sections explain what happens when your workstation application makes local and remote requests.
When an application accesses data stored locally on the workstation, client-based Btrieve must be loaded on the workstation.
The following steps describe accessing data on the workstation:
NOTE: In a MS Windows or OS/2 environment, you must import the function definition.
When an application accesses data stored on a remote server from a workstation, the Btrieve Requester must be loaded on the workstation, and BSPXCOM and the Btrieve NLM must be loaded on the server.
The following steps describe accessing data stored on a server from an application running on a workstation:
NOTE: In a MS Windows or OS/2 environment, you must import the function definition.
When an application accesses local and remote data from a workstation, the Btrieve Requester and client-based Btrieve must be loaded on the workstation, and BSPXCOM and NetWare Btrieve must be loaded on the server.
The following steps describe accessing local and remote data from an application running on the workstation:
NOTE: In a MS Windows or OS/2 environment, you must import the function definition.
The Btrieve NLM processes the request and returns the results to BSPXCOM. BSPXCOM forwards the results to the requester at the workstation. The requester returns the data and status code to the calling application.