Hi All,
My environment:
9.1 with SP1
Win2k Prof.
I try to establish a 'PASSTHROUGH-LINK' in 3 scenarios:
a. SW-1 with SBO link to SW-2 with SDO.
b. SW-1 with SDO link to SW-2 with SBO.
c. SW-1 with SBO link to SW-2 with SBO.
Currently I'm trying 1st scenario:
in SW-1 at InitiliazeObject I have:
------------------------------------------
RUN addLink (INPUT THIS-PROCEDURE,'Data':U, h_sbocustadr).
DYNAMIC-FUNCTION('setForeignFields' IN h_sbocustadr,"dcustomer.cust-cat,cust-cat,dcustomer.cust-id,custid").
in SW-1 at InitiliazeObject I have:
------------------------------------------
DEF VAR hContainer AS HANDLE NO-UNDO.
DEF VAR hSDO AS HANDLE NO-UNDO.
/* Get the widget handle of the window. */
hContainer = DYNAMIC-FUNCTION('getContainerHandle':U).
/* Search for a data link into the window */
DYNAMIC-FUNCTION('linkHandles':U IN THIS-PROCEDURE, 'Data-Source':U).
hSDO = WIDGET-HANDLE(DYNAMIC-FUNCTION('linkHandles':U IN THIS-PROCEDURE,'Data-Source':U)).
IF VALID-HANDLE(hSDO) THEN DO:
RUN addLink (INPUT THIS-PROCEDURE,'Data':U, h_dcontact).
/* Adjust foregin fields to accomodate your SDO */
DYNAMIC-FUNCTION('setForeignFields' IN h_dcontact,"contact.cust-cat,cust-cat,contact.cust-id,cust-id").
END.
When I run it I got this error "getUpdateTableNames invoked dynamically but could not be found. (5639)"
It seems that I have missed something in between.
Any ideas? Any sample code will be better.
Thanks for your help in advance.
Kind Regards,
Usman Tjiudri.
My environment:
9.1 with SP1
Win2k Prof.
I try to establish a 'PASSTHROUGH-LINK' in 3 scenarios:
a. SW-1 with SBO link to SW-2 with SDO.
b. SW-1 with SDO link to SW-2 with SBO.
c. SW-1 with SBO link to SW-2 with SBO.
Currently I'm trying 1st scenario:
in SW-1 at InitiliazeObject I have:
------------------------------------------
RUN addLink (INPUT THIS-PROCEDURE,'Data':U, h_sbocustadr).
DYNAMIC-FUNCTION('setForeignFields' IN h_sbocustadr,"dcustomer.cust-cat,cust-cat,dcustomer.cust-id,custid").
in SW-1 at InitiliazeObject I have:
------------------------------------------
DEF VAR hContainer AS HANDLE NO-UNDO.
DEF VAR hSDO AS HANDLE NO-UNDO.
/* Get the widget handle of the window. */
hContainer = DYNAMIC-FUNCTION('getContainerHandle':U).
/* Search for a data link into the window */
DYNAMIC-FUNCTION('linkHandles':U IN THIS-PROCEDURE, 'Data-Source':U).
hSDO = WIDGET-HANDLE(DYNAMIC-FUNCTION('linkHandles':U IN THIS-PROCEDURE,'Data-Source':U)).
IF VALID-HANDLE(hSDO) THEN DO:
RUN addLink (INPUT THIS-PROCEDURE,'Data':U, h_dcontact).
/* Adjust foregin fields to accomodate your SDO */
DYNAMIC-FUNCTION('setForeignFields' IN h_dcontact,"contact.cust-cat,cust-cat,contact.cust-id,cust-id").
END.
When I run it I got this error "getUpdateTableNames invoked dynamically but could not be found. (5639)"
It seems that I have missed something in between.
Any ideas? Any sample code will be better.
Thanks for your help in advance.
Kind Regards,
Usman Tjiudri.