>Hi,
>
>We should declare as Public(Not Private) in form1, otherwise it is showing error variable not found.
Oh, I see. Try to use a name that will not likely conflict with other variables. For instance, include the form name in the variable name, something like: FrmClient_ChildTable (adapt to your naming convention). And it may be a good idea to release the variable immediately after calling the second form - because the public variable won't dissapear automatically.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)