Page 1 of 1

Calling UDT or GCB in GCB or UDT

Posted: Wed Apr 15, 2009 6:46 pm
by jdwork
  I am trying to reuse a UDT-{dbconnect} for my queries in another UDT-{emergencystudentlist}.  Tried GCB as well.  I place the tag at the top of my query udt with a print statement, but the resulting page merely prints out the name of the UDT.

How does one call a GCB or a UDT inside another UDT or GCB?

Cheers,

Re: Calling UDT or GCB in GCB or UDT

Posted: Wed Apr 15, 2009 7:11 pm
by viebig
actually, you dont. But there are workarounds.

Can you post a sample code?

Re: Calling UDT or GCB in GCB or UDT

Posted: Wed Apr 15, 2009 7:19 pm
by RonnyK
Well for a UDT call inside the GCB, you could just check the default 'footer' GCB. That calls a UDT....

Ronny