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


Description
The FindSubjectRecord method retrieves the contents of the subject record.  

Syntax
long result = FindSubjectRecord(short SortOrder, long RecordNumber);

The FindSubjectRecord syntax has these parts:

Part

Description

SortOrder

Sort order to retrieve the data. Valid entries are:
1 - sorted by subject, for example: Africa
2 - sorted by subject code, for example: AFRC

RecordNumber

The record number to retrieve.

result

Return value. A long integer containing 0 if successful or an error code if not.

Remarks
After the FindSubjectRecord method is called, the retrieved contents of the record is stored respectively in the RecordItem1 and RecordItem2 properties.

See Also: GetTotalSubjectCount SubjectName

Back to: Utility Methods