Re: Field Rules - Field Events & Record Events
For any of those who are interested...
I put together a little application that traces browse events and provides some control & much insight as to how the browse interacts with the underlying table. (I used the methodology that Tom Cone Jr. suggested.)
There is one caveat, these are table events: If you open the table using the default browse instead of the form/embedded browse (which autoruns), the first (and only the first) record can not be changed as expected. I could have coded this problem out, but I didn't bother. As far as I can tell, the one form with the embedded browse works correctly and shows in real time as it displays the table events as they are firing..........
Due to a5 limitations, you must enter in some text into the CUSTDESC field. (Alpha will not allow you to save any records that do not have at least one manual entered field.... (Although I might have been able to add a browse based event/trigger to take care of this too.)
All the events that display can be viewed at the table level, by looking at the field rules....
(The one function "fnEventsToString()" records the events that are displayed in the right pane, and dings the bell as it displays which events fired, along with a running count.)
Note: There are also a few other functions and script examples which are partial "hacks."
BrowseEventTracing.zip
For any of those who are interested...
I put together a little application that traces browse events and provides some control & much insight as to how the browse interacts with the underlying table. (I used the methodology that Tom Cone Jr. suggested.)
There is one caveat, these are table events: If you open the table using the default browse instead of the form/embedded browse (which autoruns), the first (and only the first) record can not be changed as expected. I could have coded this problem out, but I didn't bother. As far as I can tell, the one form with the embedded browse works correctly and shows in real time as it displays the table events as they are firing..........
Due to a5 limitations, you must enter in some text into the CUSTDESC field. (Alpha will not allow you to save any records that do not have at least one manual entered field.... (Although I might have been able to add a browse based event/trigger to take care of this too.)
All the events that display can be viewed at the table level, by looking at the field rules....
(The one function "fnEventsToString()" records the events that are displayed in the right pane, and dings the bell as it displays which events fired, along with a running count.)
Note: There are also a few other functions and script examples which are partial "hacks."
BrowseEventTracing.zip
Comment