Connecting Tech Pros Worldwide Help | Site Map

A problem with arrays

elmoizwaly@mobifree.net
Guest
 
Posts: n/a
#1: Jan 27 '06
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.

I Don't Like Spam
Guest
 
Posts: n/a
#2: Jan 27 '06

re: A problem with arrays


elmoizwaly@mobifree.net wrote:[color=blue]
> 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.
>[/color]

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
elmoizwaly@mobifree.net
Guest
 
Posts: n/a
#3: Jan 28 '06

re: A problem with arrays


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

Closed Thread