It is in relation to
Advanced Class Concepts I have posted several threads on using custom classes to extend the capabilities of controls and make pseudo "user controls". https://www.access-programmers.co.uk/forums/threads/developing-custom-classes-to-simulate-user-controls.309080/ This thread has additional concepts.
www.access-programmers.co.uk
Like my other classes, I am showing how to make encapsulated reuseable capabilities. What would take the average person 10s or hundreds of lines of code and hours of work, I instantiate a reuseable class with a few lines of code and expose many flexible methods and properties.
The native Access controls are basically the same thing that I started playing with in 1995, so you are pretty limited in what you can do. Compare this to something like vb.net, and it is sad. No real native unbound datagrids, treeview, listviews, usercontrols etc. So you are stuck with what you have. There are a few instances where an unbound form is the only way or at least the less "kludgy" way.
The purpose of this class was to teach some advanced class concepts and not to solve a problem, but I am starting to find some real utility especially in the unboundcontrols collection.
I want to see if someone has a complex example, and see how much code I can do away with and if the class considers possible exceptions that I am not thinking about.
So take a look at that thread and see how little code it is for that functionality. Would likely take you 10 times the code to do what is shown. Even if you did it your code would only be good for that form. The point is that is the same code for every unbound form you would write. No new code needs to be written except to instantiate and call the methods.
Thanks, the examples you describe may not be what I need. Looking for examples with capability to add, edit, delete from table/query.
Need to get around to posting the second lesson on that thread where I will describe building the UboundControl class and then the custom collection class.