What is IF NOT FIND('=><') THEN BEGIN

rgunnirgunni Member Posts: 2
In Code Unit - "Item Jnl.-Post Batch" (23)- there is a line "IF NOT FIND('=><') THEN BEGIN" . I do not understand the usage of this FIND statement. Any one can explain the meaning of this statement.

Comments

  • sathyaasathyaa Member Posts: 6
    Still Now I also NOT found any solution
  • David_CoxDavid_Cox Member Posts: 509
    sathyaa wrote:
    Still Now I also NOT found any solution

    Search this forum this is asked about once a month, look at the string, = Equal to, > Greater than and < Less Than, find in that order.

    So if I had values 1 to 10 (1,2,3,4,5,6,7,8,9,10)

    5 would return 5 (=)
    5.5 would return 6 (=>)
    20 would return 10 (=><)

    In the Journal scenario it is looking to see if there are any records in the batch, you could be on a blank line, empty record, but the journal could be full so.
    = Is the calling record in the batch.
    > if not is there a record After (From First Line Empty)
    < if not is there a record Before (From Last Line Empty)

    :D
    Analyst Developer with over 17 years Navision, Contract Status - Busy
    Mobile: +44(0)7854 842801
    Email: david.cox@adeptris.com
    Twitter: https://twitter.com/Adeptris
    Website: http://www.adeptris.com
Sign In or Register to comment.