Hi David,

That did the trick.  

MANY THANKS.

*-----------------------------------------------------------*
                          Jon Wells
Database Administrator                         Beloit College
Information Services & Resources           Beloit, Wisconsin
608-363-2290         [email protected]     608-363-2100 (fax)
*-----------------------------------------------------------*

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of David A. Green
Sent: Friday, April 24, 2009 8:31 AM
To: [email protected]
Subject: RE: [U2] I-descriptor subroutine / SELECT question

I would add to the wrapper to SAVE all the UniData Internal Variables then
call your subroutine, and then RESTORE all the Variables.

Example:

U.ID     = @ID
U.DICT   = @DICT
U.RECORD = @RECORD
READLIST U.SEL THEN SEL.FLAG = @TRUE
(Any other COMMON variables that might be modified)
...
DO YOUR CALL
...
IF SEL.FLAG THEN FORMLIST U.SEL
@RECORD = U.RECORD
@DICT   = U.DICT
@ID     = U.ID

Thanks,
David A. Green
www.dagconsulting.com
(480) 813-1725
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to