Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Oct 1, 1996

Binding Across Forms

Question:
We want to use multiple VB forms with independent controls bound to independent data controls accessing a single table. In Vb 3.0, we are not able to save the controls data of a datacontrol in a form FROM ANOTHER form. IS it actually possible to commit the changes of different datacontrols 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.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date