A
Adda
Is it possible to set a variable to a current instance of
a running object without using the New keyword?
Here is my situation. I have been trying to add a record
to a dataset on a Parent Mdi form and refresh a datagrid
on this parent at the same time from a childform. I could
not make this happen. The only way I could refresh the
parent form/datagrid was to reset the datagrid datasource
from within the parent. Then I determined that I was
instantiating a New copy of the parent form because I was
using the New keyword in the childform. So I created a
global Form variable in a Module. Essentially, I want to
bridge the parent and childform (is that called
marshalling?). So when the childform is created it is
automatically bridged to the current instance of the
parent form. Is this possible? If so, what is the
correct syntax?
TIA
Adda
a running object without using the New keyword?
Here is my situation. I have been trying to add a record
to a dataset on a Parent Mdi form and refresh a datagrid
on this parent at the same time from a childform. I could
not make this happen. The only way I could refresh the
parent form/datagrid was to reset the datagrid datasource
from within the parent. Then I determined that I was
instantiating a New copy of the parent form because I was
using the New keyword in the childform. So I created a
global Form variable in a Module. Essentially, I want to
bridge the parent and childform (is that called
marshalling?). So when the childform is created it is
automatically bridged to the current instance of the
parent form. Is this possible? If so, what is the
correct syntax?
TIA
Adda