Routines for peocfunc.kb


ConfigureRemTrans

File Name

peocfunc.kb

Syntax

ConfigureRemTrans( VAL ParentWindow: Window ): BOOLEAN

Parameters

ParentWindow - window handle of the calling dialog box

Returns

FALSE if cancelled from dialog box, TRUE if chose OK with all information provided

Side Effects

None

Description

Gets the site information in the sites table - includes the site_number and site_id. If the site_number and site_id are found, then the global variables SITE_ID, SITE_NO and PSITE_NO are set.

Dialog Forms Called

cbuild.dfc[ remtrans_confignum ]

cbuild.dfc[ remtrans_config ]


GetOldPersonNameFmRec

File Name

peocfunc.kb

Syntax

GetOldPersonNameFmRec(VAL person: OldPeopleRecord ): STRING

Parameters

person - record structure for an old people record

Returns

Name of person

Side Effects

None

Description

This function takes the person record and provides the person's name as the result of the function.

Dialog Forms Called

None


GetPersonNameFmDB

File Name

peocfunc.kb

Syntax

GetPersonNameFmDB(REF people_id: INTEGER ): STRING

Parameters

people_id - opaque ID that uniquely identifies a person

Returns

Name of person

Side Effects

None

Description

This function takes the people_id and provides the person's name as the result of the function.

Dialog Forms Called

None


GetPersonNameFmRec

File Name

peocfunc.kb

Syntax

GetPersonNameFmRec(VAL person: PeopleRecord ): STRING

Parameters

person - record structure for a people record

Returns

Name of person

Side Effects

None

Description

This function takes the person record and provides the person's name as the result of the function.

Dialog Forms Called

None


GetSitesInfo

File Name

peocfunc.kb

Syntax

GetSitesInfo(REF msgNumber: INTEGER): INTEGER

Parameters

msgNumber - return code indicating which error message to display

Returns

1 for success and -2 for cancel process

Side Effects

None

Description

Gets the site information in the sites table - includes the site_number and site_id. If the site_number and site_id are found, then the global variables SITE_ID, SITE_NO and PSITE_NO are set.

Dialog Forms Called

None


SetButtons

File Name

peocfunc.kb

Syntax

SetButtons(VAL w: WINDOW)

Parameters

w - window handle of the calling dialog box

Returns

None

Side Effects

None

Description

Enables or disables the buttons on the migration dialog box.

Dialog Forms Called

None


TransactionPrompt

File Name

peocfunc.kb

Syntax

TransactionPrompt(VAL w: WINDOW, REF tran: TransactionRecord ): BOOLEAN

Parameters

w - window handle of the calling dialog box

tran - instance record for the transaction dialog box

Returns

FALSE if cancelled from dialog box, TRUE if chose OK with all information provided

Side Effects

None

Description

This procedure prompts the user to continue the migration and change the transaction size if necessary.

Dialog Forms Called

cbuild.dfc[migtrans]