company logo

res_connection - RESOURCES.CONNECTION option

Usually, the resource database location is determined by the system (automatic). When the client is connected to a server and opening the resource database via server fails, the system tries to open the resource database locally. When the client is not connected to a server and local opening of resource database fails, the resource database will be opened via main client (when being connected to a server).

When passing local as connection type, the resource database will be opened locally, always. When passing server as connection type, the resource database will be opened via server. When no server connection has been established for the current client (data source client), the resource database will be opened via main client connection. When the main client is not connected, too, opening the resource database fails