Routines for p_print.kb


PrintProblemEvent

File Name

p_print.kb

Syntax

PrintProblemEvent( ref print: printRecord );

Parameters

print: instance data for the dialog

Returns

print record updated

Side Effects

None

Description

This event prompts the user for two print settings: detailed vs. brief and all records vs. selected. If print.promptMultiple is false then the all vs. selected option will be dissabled.

Dialog Forms Called

None


PrintProblems

File Name

p_print.kb

Syntax

PrintProblems( val whdl: window, val problem_id: string, val listName: string ) is

Parameters

whdl: parent window of the function

problem_id: problem id of a single record to print

listName: name of a list box containing problems to print

Returns

Nothing

Side Effects

None

Description

This procedure will print a list of problems. If a problem_id is passed in it will be the only one printed. The parent window must contain a list box with a column named problem_id. All problems from the list box may be printed or only the currently selected item.

Dialog Forms Called

p_print.dfc[print]