Mike Clark
Member
Hi
Progress 9.1e 02 Windows xp
Using ADM2
I have a Smart Container with SDO, smart Browser and 2 SD viewers on it.
From the Smart Container I am doing
PUBLISH "viewit" (INPUT viewit).
(From procedure InitializeObject)
In the SD viewer I am doing
SUBSCRIBE TO "viewit" ANYWHERE.
(in the DisplayFields procedure)
I have the Procedure viewit set up as
DEFINE INPUT PARAMETER viewit AS LOGICAL NO-UNDO.
doview = viewit.
/*MESSAGE "in view2 with " doview VIEW-AS ALERT-BOX.*/
END PROCEDURE.
The problem is that the viewit is not being called the first time the program is run,
But when Navigating through the records viewit is set up perfectly.
So the question is where (in which Procedure(s)) should I put the SUBSCRIBE/PUBLISH ??
regards
Mike
Progress 9.1e 02 Windows xp
Using ADM2
I have a Smart Container with SDO, smart Browser and 2 SD viewers on it.
From the Smart Container I am doing
PUBLISH "viewit" (INPUT viewit).
(From procedure InitializeObject)
In the SD viewer I am doing
SUBSCRIBE TO "viewit" ANYWHERE.
(in the DisplayFields procedure)
I have the Procedure viewit set up as
DEFINE INPUT PARAMETER viewit AS LOGICAL NO-UNDO.
doview = viewit.
/*MESSAGE "in view2 with " doview VIEW-AS ALERT-BOX.*/
END PROCEDURE.
The problem is that the viewit is not being called the first time the program is run,
But when Navigating through the records viewit is set up perfectly.
So the question is where (in which Procedure(s)) should I put the SUBSCRIBE/PUBLISH ??
regards
Mike