In the next release of OpenInsight we’ve added a new feature that allows you to quickly display runtime databinding information for the controls in your application – the aptly named SHOWDATABINDING method.
It’s a simple method that is supported by all controls, and can be invoked like so:
Call Exec_Method( CtrlEntID, "SHOWDATABINDING" )
If the control is bound to a database table then it displays a view-only dialog of data binding information for that control. The following example shows the information for a bound column in an EditTable control:
The Description, Validation, Heading and Formula attributes all have their own sub-dialog boxes to display their full details.
If the control is not databound a simple message is displayed to inform the user of the fact.
This method can easily be added to menu or contextmenu QuickEvents in your own applications if you wish to expose this information to your users, or just for your own diagnostic purposes.