I wonder how many other times we've forgotten this? Not my code, but it's the simple things that get ya...


  • A Find GE always finds a record unless the table is empty. A find GE even after the last record in the table will still return the last record. It always sets the Predefined Indicators Found to True and FindErr to False.

    Code:
        move 748000 to istart
        move 748100 to iSTop
        Clear GIFTCARD
        Move iStart to GIFTCARD.Number            
        Find ge GIFTCARD.Number 
        If ((Found) and GIFTCARD.Number<=istop) Begin
              //is always true, in this case it found a number less than iStart
    never liked this, I believe it's illogical