That sounds doable. I was hoping to not have to modify the original sub, and this approach should do just that. I was just unsure as to whether I could do some kind of fake $INCLUDE on the client side via the UniObjects interface. Hoping beyond hope, I know, but I had to ask.
-----Original Message----- From: Pingilley, Ron [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 10:33 AM To: 'U2 Users Discussion List' Subject: RE: How to accomplish this from UniObjects 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 -- u2-users mailing list [EMAIL PROTECTED] http://www.oliver.com/mailman/listinfo/u2-users
