A problem with arrays

  • Thread starter Thread starter elmoizwaly
  • Start date Start date
E

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.
 
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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top