Consultor Eletrônico



Kbase P12380: ADM2: Errors 5705,4083 adding links for SmartObjects on diff
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/8/2005
Status: Unverified

SYMPTOM(s):

ADM2: Errors 5705,4083 adding links for SmartObjects on different pages

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

Unable to assign UNKNOWN value to attribute MAX-DATA-GUESS on <widget id>. (4083)

CAUSE:

You're adding the links within the procedure SelectPage. But the objects are not realised.

FIX:

You have to add the correspondent links overriding the procedure createObjects.

Hereby an example where the objects we want to link are in the page 2:

PROCEDURE createObjects:

RUN SUPER.
IF getcurrentpage () = 2 THEN
DO:
RUN addlink (INPUT h_b-clients, INPUT 'Update', INPUT h_d-clients).
RUN addlink (INPUT h_d-clients, INPUT 'Data', INPUT h_b-clients).
RUN addlink (INPUT h_pnavico, INPUT 'Navigation', INPUT h_d-clients).
RUN addlink (INPUT h_pupdsav, INPUT 'TableIO', INPUT h_b-clients).
END.

END PROCEDURE.