Consultor Eletrônico



Kbase P68263: filterDataAvailable documentation is wrong
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/22/2007
Status: Unverified

SYMPTOM(s):

filterDataAvailable documentation is wrong

The Progress dynamics developer's guide is wrong with respect to filterDataAvailable.

On page 9-23 (at the bottom) in the chapter 9.5 'Creating a filter viewer for a TreeView window' the description of how the parameter of the filterDataAvailable should look like is not correct.

The Text says that you have to separate the fields, the screen-value and the operator with chr(1) between the fields and comma between the fields, the value and the operator. Suggesting this is the format:
Field + chr(1) + field + "," + value + chr(1) + value + "," + operator + chr(1) + operator.

CAUSE:

Bug# 20040219-006

FIX:

This is not correct (see filterDataAvailable in adm2/tvcontr.p. The single parameter has to be delimited as follows:

field + ',':u + value + ',' + operator + chr(1) + field + ',':u + value + ',' + operator.

OpenEdge 10.1B and later releases have corrected documentation.