[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_SPFCID()
SetPreferredConnectionID
------------------------------------------------------------------------------
Syntax
fn_sPfCID( [ <nConnectionID> ] ) -> NIL
Arguments
<nConnectionID> is the Connection ID (1 - 8) for the server to be
set as the default server to which request packets are sent. If
omitted, <nConnectionID> defaults to 0 (unspecified).
Returns
NIL
Description
This function sets the preferred server (1 - 8 ). The preferred
server is the default server to which request packets are sent.
If no preferred server is desired, set it to 0.
See the discussion under fn_pfConID() for a more detailed
description of the preferred, default and primary server.
Examples
/* set server "SALES" to be the preferred server */
fn_sPfCID( ASCAN( fn_FSName(), "SALES" ) )
Source: N:\SRC\CONNWS\CONNID.PRG
Author: Steve Larsen
See Also:
fn_pfConID()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson