I have a FeatureClass A. This Feature Class is Versioned.
User X has a tool open, that reads records from this Feature Class, by clicking a refresh button. The refresh button code is basically a query to the table using this statement
Another user Z decided to edit the table in a different session. So they open an arcmap session, adds the feature class, starts editing, and creating features.
Once the user finished editing, they save the edit session.
The first user X, clicks the refresh button again, using the same query above, no new Features are brought besides the ones that were already there.
If the user closes the edit session, and reopens it, the new record will show.
How can I make the refresh button get the latest changes from the Feature Class without having to stop and restart the edit session?