Forum

It is possible to c...
 
Notifications
Clear all

It is possible to change queryName in M language?

5 Posts
3 Users
0 Reactions
124 Views
(@jaryszek)
Posts: 177
Reputable Member
Topic starter
 

Hi,

It is possible to change queryName in M language?

Jacek

 
Posted : 22/11/2020 5:14 am
Philip Treacy
(@philipt)
Posts: 1629
Member Admin
 

Hi Jacek,

Yes, just double click the name on the left hand side of the PQ editor and type in the new name.

Or, click the query name on the left hand side of the editor, and on the right hand side of the window, above the query steps, delete the old name and type in the new one.

Phil

 
Posted : 22/11/2020 9:12 pm
(@jaryszek)
Posts: 177
Reputable Member
Topic starter
 

Hi,

thanks but my question is it is possible to change queryname WITHIN M code? 

(like go to advanced editor and change queary name from there) 

Jacek

 
Posted : 23/11/2020 6:39 am
(@catalinb)
Posts: 1937
Member Admin
 

No, it's not like VBA where you can control other objects.

But, you can use VBA to change a query.

 
Posted : 23/11/2020 10:18 am
(@jaryszek)
Posts: 177
Reputable Member
Topic starter
 

Thank you very much!

Jacek

 
Posted : 24/11/2020 1:57 am
Share: