MARK and MARKEDONLY not supported under 2009

mgiffordmgifford Member Posts: 44
edited 2009-10-26 in NAV Three Tier
I just had a case open with MS and they indicated that the MARK and MARKEDONLY functions are not supported under 2009 - can anyone else comment on this?

Here is the quote:

I did receive word back from Dev, both the MARK and MARKEDONLY are not supported in the RTC. They did say they are hoping to change this in a future release. I have already contacted the Doc team to get the documentation updated so this information will be available until this functionality is supported on the RTC.

Comments

  • kapamaroukapamarou Member Posts: 1,152
    Really :shock:


    :thumbsdown: :thumbsdown: :thumbsdown: :thumbsdown: :thumbsdown:
  • ara3nara3n Member Posts: 9,256
    Mark and MARKEDONLY only work when you do them in code, but for the user there is no mechanism to do it in RTC.

    Also I believe when you run reports from RTC through classic, it doesn't work.


    I tried it a while back.

    OnOpenPage I added the following code.

    findfirst;
    mark(true);
    MARKEDONLY(true);

    The Page opened with only one record showing.




    The workaround is use Temporary record and store the marked record instead. And it's very easy to implement.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • mgiffordmgifford Member Posts: 44
    I was specifically trying to use code to mark some records and then pass them into a classic report from the RTC. Neither using MARK or a temp record populated with the right records works. I found a work around by putting the code in the report itself instead of a code unit that calls the report.
  • veerendraveerendra Member Posts: 66
    HI,

    I am not sure about the reports but I marked few records and sent to the page. It worked for me. Only difference I found is mark symbol on the page.
    Veerendra Ch.
    http://midynav.blogspot.com/ (Microsoft Dynamics Navision)
  • ara3nara3n Member Posts: 9,256
    yes mark works on pages as I mentioned.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • David_SingletonDavid_Singleton Member Posts: 5,479
    ara3n wrote:
    ...
    The workaround is use Temporary record and store the marked record instead. And it's very easy to implement.

    Actually I don't think Temporary tables are a workaround, I think that they are the solution, and Marks were for a long time the work around. Since they introduced Temporary tables there is no need for marks, and developers have had years to move.

    In terms of the user interface, marks were never a solution (except maybe marking object in the object designer). Instead what is needed is a function that instead of mark, moves a copy of the current record on the form into a temp table and then a function that switches the form to point to the temp table.

    MARKEDONLY is a horrible function that should be removed.
    David Singleton
  • BeliasBelias Member Posts: 2,998
    ara3n wrote:
    ...
    The workaround is use Temporary record and store the marked record instead. And it's very easy to implement.

    Actually I don't think Temporary tables are a workaround, I think that they are the solution, and Marks were for a long time the work around. Since they introduced Temporary tables there is no need for marks, and developers have had years to move.

    In terms of the user interface, marks were never a solution (except maybe marking object in the object designer). Instead what is needed is a function that instead of mark, moves a copy of the current record on the form into a temp table and then a function that switches the form to point to the temp table.

    MARKEDONLY is a horrible function that should be removed.
    i'm with you, david...it's easy to find why it is so horrible by just searching forum form "markedonly sql"...
    As you said, an action with a shortcut of ctrl+f1 (if possible) which moves the records to a temporary record would be the same for the user...the only problem is to implement the little dot on the left...maybe with a new field or variable...but i would be odd to implement this on every list...hope the mark function will be soon replaced with this solution...
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.