Consultor Eletrônico



Kbase P95156: Error 5705 when using DynTreeview
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/4/2005
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.0B
Dynamics

SYMPTOM(s):

Treeview root node is plain text node

Treeview root node has child node based on menu structure

Menu structure is two or more levels deep

Error occurs when selecting third-level node

FUNCTION function given invalid or Unknown context to run IN. (5705)


CHANGE:

Migrated from 10.0A to 10.0B

CAUSE:

This is a known issue being investigated by Development.

FIX:

Workaround:
Manually modify adm2/tvcontnr.p.

In the repositionPath procedure, change the line

IF NOT DYNAMIC-FUNCT("findRowObjectUseRowIdent":U IN hParentNodeSDO,
cRowIdent) THEN lRepositionParent = TRUE.

to

IF VALID-HANDLE(hParentNodeSDO) THEN IF NOT
DYNAMIC-FUNCT("findRowObjectUseRowIdent":U IN hParentNodeSDO,
cRowIdent) THEN lRepositionParent = TRUE.