EE_JOIN

Combines two CSV documents specifying key columns, using a method similar to JOIN operations, and creates a new document. You can send this message explicitly or use the Editor_Join inline function.

EE_JOIN
wParam = (WPARAM) (JOIN_INFO*) pJoinInfo;
lParam = 0;

Parameters

pJoinInfo

Pointer to the JOIN_INFO structure.

Return Value

The return value is the number of the lines in the new document. The return value is a negative value if an error occurs. If an error occurs, the return value can be one of the following values:

E_DOCUMENT_1_NOT_FOUND

Cannot find the first document.

E_DOCUMENT_2_NOT_FOUND

Cannot find the second document.

E_COLUMN_1_NOT_FOUND

Cannot find the first column.

E_COLUMN_2_NOT_FOUND

Cannot find the second column.

E_SELECT_SYNTAX

Syntax error in the Select string.

E_SELECT_DOCUMENT_NOT_FOUND

Cannot find a specified document in the Select string.

E_SELECT_COLUMN_NOT_FOUND

Cannot find a specified column in the Select string.

E_DIFFERENT_CSV_MODE

Different CSV modes.

E_NOT_MDI

Tabs must be enabled.

E_WRITE_TEMP_FILE

Temporary file write error.

E_ABORT

Aborted by a user.

E_FAIL

Unspecified error.

Version

Supported on EmEditor Professional Version 14.8 or later.