Forum Post: Re: Instantiated Class, Propagates Database Connection Need

  • Thread starter Thread starter OctavioOlguin
  • Start date Start date
Status
Not open for further replies.
O

OctavioOlguin

Guest
Thanks for the answer... but can't test it. would you take a look and tell me why I get some error in the myProducto = DYANAMIC-NEW part? USING procs.alm.oProducto FROM PROPATH. {procs\alm\inc\dsProducto.i} DEFINE OUTPUT PARAMETER table FOR ttProducto. DEFINE OUTPUT PARAMETER foo AS INTEGER NO-UNDO. DEFINE VARIABLE myProducto AS oProducto NO-UNDO. DEFINE VARIABLE cClass1 AS CHARACTER NO-UNDO INITIAL "oProducto". MESSAGE "antes". myProducto = DYNAMIC-NEW cClass1 (). MESSAGE "despues". foo = myProducto:GetProductos (OUTPUT TABLE ttProducto). DELETE OBJECT myProducto. I get the "antes" (before) log, but then it crashes session.. Thanks in advance

Continue reading...
 
Status
Not open for further replies.
Back
Top