Don’t Use Default Properties When Working with Hierarchical Recordsets

Don’t Use Default Properties When Working with Hierarchical Recordsets

It’s common VB knowledge that you can omit the default property of a control or an object. For example, statements such as Text1.Text = “blah” and Text1 = “blah” are equivalent, with Text being a default property of text control. Objects behave similarly. When you have two tables, Orders and Items, in a parent-child relationship by OrderNumber, you can build a hierarchicalrecordset that stores Items

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist