devxlogo

Binding Across Forms

Binding Across Forms

Question:
We want to use multiple VB forms with independent controls bound to independent data controls accessinga single table.In Vb 3.0, we are not able to save the controls dataof a datacontrol in a form FROM ANOTHER form.IS it actually possible to commit the changes of differentdatacontrols across forms.

Answer:
VB 4.0 data controls can have their recordset properties set programmatically, which is a change from VB 3.0. This feature will probably alleviate your problem, since you can set one data control’s recordset equal to another, regardless of which form it is on.However, the OLE server has to be in process for it to work correctly. This is a known “feature”, by design according to Microsoft.

See also  5 Strategies for Supercharging Your CRM
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