Hidden & little known features in VBA and the VBE (2 Viewers)

Also, don't forget that if you are having to create controls on the fly, there is something very wrong with your design.
 
The JKP Treeview builds a tree dynamically from a Userform and MSForms controls. This is the best example of what you could do with a UserForm and cannot do in an Access form.
See discussion.

I have built a tree using this interface with with thousands of nodes and thus thousands of controls built on the fly. This works in an Accde because as I said you can actually build on the fly not like Access where you have to go into design view (bad), and welll beyond the limitations of Access forms. The below tree loads up to 10K nodes. Every line, box, symbol, name is a control.
JKP.PNG


don't forget that if you are having to create controls on the fly, there is something very wrong with your design.
Yes if someone is building controls because there database is changing, but that is probably not what someone would be doing. More likely a nifty display of data that you cannot do in a native form.
 
Last edited:

Users who are viewing this thread

Back
Top Bottom