[progress Communities] [progress Openedge Abl] Forum Post: Re: If Not Available(tablex) Or...

  • Thread starter Thread starter ske
  • Start date Start date
Status
Not open for further replies.
S

ske

Guest
> IF (NOT AVAILABLE(X1)) OR (AVAILABLE(x1) AND X1.Field1 = "something") THEN ..... > as the AVM will discard the first condition but to be a able to test for Field1 = "something" ther should be a > record on buffer, otherwise it will cast a Record not available.... You don't need the second AVAILABLE(x1) after OR, because if the record is not available, the left side of OR will already be TRUE and the right side of OR will not be tried at all! And since it will not be tried, you will not get "Record not available". (Like GregHiggins told you already.) Try it out and see for yourself...

Continue reading...
 
Status
Not open for further replies.
Back
Top