Home All Groups Group Topic Archive Search About

A problem with arrays

Author
27 Jan 2006 5:25 PM
elmoizwaly
hi there
i  am new to vb
i have a new project (mdi)  with 8 child forms evry form with at least
10 textboxs.
the problem is that when building an array for each form textboxs and
declaring the array as public i can't get the data enterd in other
forms  to be printed as a single document.
any one have a solution?
thanks in advance.

Author
27 Jan 2006 6:05 PM
I Don't Like Spam
elmoizw***@mobifree.net wrote:
> hi there
> i  am new to vb
> i have a new project (mdi)  with 8 child forms evry form with at least
> 10 textboxs.
> the problem is that when building an array for each form textboxs and
> declaring the array as public i can't get the data enterd in other
> forms  to be printed as a single document.
> any one have a solution?
> thanks in advance.
>

Where are you declaring this array?  If you are declaring it in the
parent make sure you access it through something like:
ChildForm.ParentForm.TextBoxArray

Chris
Author
28 Jan 2006 7:57 AM
elmoizwaly
thank you chris ,yes, i declare the arrays in the mdi parent but how to
use the code(ChildForm.ParentForm.TextBoxArray )
assuming that
the child's name =rose
the parent's name =garden
the array's name in the child =water
thank you again