Jim, thanks for the concept. I hope this will do.
 
Williams



________________________________
From: Jim Idle <[email protected]>
To: [email protected]
Sent: Thursday, 5 February, 2009 19:58:02
Subject: Re: Table validation

Williams wrote: 


Thanks Gabalian. You are the only one that seems to think along the same line 
that i thought . The only problem with your solution is that 'am not writing 
for T24 but JBC.  Again, when I do an input on the field on table AAX (or File 
as it is called in JBC - the 2 means same thing!), I want a situation where a 
validation would be done on table BBX (the record ID for BBX is input on AAX). 
You have to program this.

OPEN "BXX" TO validation ELSE....

....

valid = "N"
LOOP WHILE valid = "N" DO
 INPUT fld
 READ dummy FROM validation, fld THEN
  valid = "Y"
 END ELSE
   CRT "Not valid:"
 END
REPEAT



Again, verification or validation are same thing!!!They certainly are not. 
Verification means making sure that it looks like it should do what it is 
supposed to do, validation ensures that it in fact DID do that.



Another way to ask this question is whether I can put a validation routine on 
INPUT statement of a JBC program? If not, then how do I achieve this scenario?
Jim



      
--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to