
Binding to VB's Data Control
Hi,
I just starting using VB4's Data Control and binding other
controls to it. It works fine as long as the data control
and the bound control are on the same form, but not else.
Let's say that the data control dc is on form1 and on form2 we
have a text field I want to bind to the data control,
specifying "form1!dc" as datasource.
Even though form1 is loaded, it doesn't work. Why?
The reason I want to do this: I have one main form giving an
overview of a table (Data control + bound DBGrid), and several
forms giving detail views of the same table. And if possible,
I'd like to access the same data control all the time instead
of having a data control on every form and then manually assuring
that they all have the same record set.
Help appreciated, thanks.
===================================================================
Stephan W. Haller
Matsushita Electric Works, Ltd. Tel. (06) 906 - 8075
Central Research Laboratory Fax (06) 904 - 7104
http://www.*-*-*.com/
-------------------------------------------------------------------
" The brain is a wonderful organ. It starts working the moment "
" you get up and does not stop until you get into the office. "
" - Robert Frost "
===================================================================