FIND function

martinher562martinher562 Member Posts: 50
I am still confused as to what the find function does.

There is a report that has an integer table and the variable of WhseEntry as a record using subtype Warehouse Entry.

In the interger table; in the PreDataItem() trigger, it says the following:

Integer - OnPreDataItem()
CLEAR(Location);
WhseEntry.RESET;


IF NOT WhseEntry.FIND('-') THEN
CurrReport.BREAK;


What does this mean ??????? !!!!!!
Does it just say, if you cannot find first record (at least one record) then break the report ?
I read this, but is not very helpful.
https://msdn.microsoft.com/en-us/library/dd301096.aspx

Thank you everyone in advance !

Best Answer

Answers

  • RockWithNAVRockWithNAV Member Posts: 1,139
    If in WhseEntry entry table no record is found then the loop breaks for that particular record and no execution happens.

    https://msdn.microsoft.com/en-us/library/dd354980.aspx
Sign In or Register to comment.