any way to get the name of current query ?

娘子依旧每日折一支杨柳 21 Reputation points
2020-12-10T07:38:37.447+00:00

any way to get the name of current query ?

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,923 questions
0 comments No comments
{count} votes

Accepted answer
  1. Lz._ 8,991 Reputation points
    2020-12-10T09:50:32.727+00:00

    Hi @娘子依旧每日折一支杨柳

    As far as I know the answer is No. EDIT: found out an old thread where Imke (a M master) says this isn't possible

    '#shared and #sections provide the following info.:

    46894-shared.png

    46932-sections.png

    If you ask this question I guess there's a need behind it. If you provide more information, a context and what you actually expect to ultimately accomplish, maybe there's a solution...

    FYI: Your context/need is probably different... in How to retrieve self (this) query name? the OP found a solution to his problem whilst the initial question was the same

    Hope this helps and if this answers your question please mark this post as such to help others. Thanks + nice day...

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. 娘子依旧每日折一支杨柳 21 Reputation points
    2020-12-11T07:02:22.073+00:00

    I want to make a scene like follow:
    in spliting a table ,I used a query called spinting-query for spliting it ,if I want to split the table 1 to 3 then I ctrl+c and ctrl+v it twice (all have 3) ,it works !
    now I need the name of current query for control the index for query,only this step ~~

    I have thinking about use the endless-loop error to confirm the name of current query ,but the endless-loop error is not catchable