Jason,

        Make a "driver" subroutine that accepts parameters via the
UniObjects call, has the $INCLUDE needed for the MFG.LAYOUTS item, and does
the initializing (possibly based on what you passed through the call).  Then
this "driver" can call the real UniBasic subroutine.  It's an extra CALL
layer, but would allow the original routine to remain unchanged.

--Ron P.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 12, 2004 9:53 AM
To: [EMAIL PROTECTED]
Subject: How to accomplish this from UniObjects

I'm attempting to hijaack a UniBasic subroutine to call from an external
program using UniObjects,
<snip>
* The calling program must include the MFG.LAYOUTS item CM.AMCS and
initialize
* the following variables:
*      PC_CM.REC - the bill to customer record assigned to the data record
<snip>
-- 
u2-users mailing list
[EMAIL PROTECTED]
http://www.oliver.com/mailman/listinfo/u2-users

Reply via email to