>Hi
>
>Could someone offer some adviso on why the following couldbe happening?
>
>I have a form formA, from which I call formB
>
>If I run formA from the command window and then click on add detail (which calls formB), everuthing works well.
>
>BUT! when I build the project the thing goes bezerk...
>
>As soon as formB is activating I get; [syntax error on row 42]. Row 42 is a combo box that displays product codes for the invoice detail.
>
>The strange thing is that it all works well outside the project.
>
>Any Ideas ???
Sounds like a data environment problem. Make sure the source for the grid is active before loading the control.