Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Omnis General Forum Retrieve current list

  • Retrieve current list

    Posted by Martin FF on August 9, 2023 at 10:21 pm

    Hello all,

    Can anyone tell me how to retrieve the or, the name of the current list or the reference to the current list.

    If have to automatically rewrite code from old style to Omnis 11.

    Regards,

    Martin

    Martin FF replied 6 months, 2 weeks ago 3 Members · 3 Replies
  • 3 Replies
  • Paul Mulroney

    Member
    August 10, 2023 at 1:55 am

    #CLIST has the name of the current list. I’m sure there’s a notation-y way to do it, but I’m not sure how that works.

    Regards,

    Paul.

  • Andreas Pfeiffer

    Administrator
    August 10, 2023 at 7:02 am

    Hi Martin,

    I do not think there is one.

    When using the new notational way of coding there is no need to set the current list because all functions are used directly on the list, i.e.

    Do myList.$search($ref.$city=’Paris’,kTrue,kFalse,kFalse,kFalse)

    I hope this helps.

    Best,

    Andreas

  • Martin FF

    Member
    August 10, 2023 at 6:19 pm

    #CLIST did the job,

    Thx both😀

Log in to reply.