I have a layer in the TOC, with a query on a field. Then in layout view, I insert the table to the layout.
When I change the query the table does not update automatically. Then I double click on the table, and now it is changed manually .
My question is :
Is there any way through using (Python Script) to change the table that I inserted in the layout automatically when i change the query for a layer? I am using ArcMap 10.8
![Table to Layout.JPG Table to Layout.JPG](https://community.esri.com/t5/image/serverpage/image-id/81503i65D9C116949D909B/image-size/large?v=v2&px=999)