Click here for NewsObjects Overview
FindSubject Method (Utility Control)
Windows - Visual C++


Description
The FindSubject method retrieves the subject name from the subject code.  

Syntax
long result = FindSubject(LPCTSTR subjectCode);

The FindSubject syntax has these parts:

Part

Description

subjectCode

A String containing the subject code.

result

Return value. A long integer containing 0 if successful and 1 if not.

Remarks
After the FindSubject method is called, the retrieved subject name is stored in the SubjectName property.

See Also: SubjectName

Back to: Utility Methods