Check @ACTION - should be 0 for an output process, 1,2 or 3 for an input process
Stuart

-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Caryl Lange
Sent: Saturday, 12 February 2011 02:10
To: U2 Users List
Subject: Re: [U2] Input or Output screen?

We were assuming there would be some system variable with this flag, rather 
than having to read it ourselves (yes, we are lazy!).

Best Regards,
Caryl Lange
Programmer/Business Analyst
HME
14110 Stowe Drive
Poway, California 92064
phone: (858) 646-8806
fax: (858) 535-6094
mailto:cla...@hme.com
Visit our website: www.hme.com

Avante 9.1.7a on Windows/UniData 7.2.5, way modified and tasty gui with SB 
5.3.7, dude


-----Original Message-----
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Manu Fernandes
Sent: Friday, February 11, 2011 12:40 AM
To: U2 Users List
Subject: Re: [U2] Input or Output screen?

Hi,

Loop on @PROC.NAME<1..x> until F('XXPROCESS',@PROC.NAME<x>)<1> = 'I' or 
F('XXPROCESS',@PROC.NAME<x>)<1> = 'O' then if = I run your extra validation.

My 2 pence.
Manu

> -----Message d'origine-----
> De : u2-users-boun...@listserver.u2ug.org [mailto:u2-users- 
> boun...@listserver.u2ug.org] De la part de Nigel Laidlow Envoyé : 
> jeudi 10 février 2011 18:04 À : u2-commun...@listserver.u2ug.org; 
> u2-users@listserver.u2ug.org Objet : [U2] Input or Output screen?
> 
> My dilemma... I have a process that is used validate a field in an 
> input screen and in a display screen (in Avante Explorer), but for the 
> input screen extra validation is needed.
> 
> 
> 
> Is there some variable in Avante that tells if the current screen is 
> an input or output, that I can check to do my extra validation?
> 
> 
> 
> My alternative is to create some variable to pass in, but if something 
> already exists I'd rather use that instead.
> 
> 
> 
> Any help would be appreciated.
> 
> 
> 
> Best Regards,
> 
> 
> Nigel Laidlow
> 
> 
> 
> 
> 
> _______________________________________________
> U2-Users mailing list
> U2-Users@listserver.u2ug.org
> http://listserver.u2ug.org/mailman/listinfo/u2-users

_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

Reply via email to