[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_SPRCID()
SetPrimaryConnectionID
------------------------------------------------------------------------------
Syntax
fn_sPrCID( [ <nConnectionID> ] ) -> NIL
Arguments
<nConnectionID> is the Connection ID (1 - 8) for the server to be
set as the primary.
Returns
Nothing
Description
This function sets the primary (1 - 8 ). The primary server is
the first server to which the user logs in.
If no primary 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 "FSMAIN" to be the primary server */
fn_attchFS( "FSMAIN" )
fn_sPfCID( ASCAN( fn_FSName(), "FSMAIN" ) )
Source: N:\SRC\CONNWS\CONNID.PRG
Author: Steve Larsen
See Also:
fn_prConID()
fn_pfConID()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson