Setting up a trigger for change in one particular field/column works as follows.
I am looking for a way to do the same for any field/column of a particular table without the need to define them all separately.
Setting up a trigger for change in one particular field/column works as follows.
I am looking for a way to do the same for any field/column of a particular table without the need to define them all separately.
I believe that would be the DataView type, try hooking it on View Changing and specify the data view of your table.
Edit: reading more about this, it seems View Changing has more to do with a view filter being changed
I’m curious what would happen if you didn’t specify a target column.
Below is a base event for “ViewChanging”… notice the trigger doesn’t have any Target for what view… so any change to/from any view kicks off this event.
I’m wondering if the same would work for your DataTable event.
If you set it up targeting your Table… but NOT specifying a Column, would it then fire one any column change for that table?
This seems to work in 2023.1 … until someone considers it a bug that must be solved.
Any ideas if this can be expected to keep working?
It may very well be “working as designed”. Like I mentioned above, they use this tactic in base events… so I would assume its safe to use this practice.
Just because they give you the option to limit to a specific column, doesn’t mean you HAVE to. They just need better documentation or hover-text to explain that caveat.