>Hi,
>I have a form with some textboxes with fields linked to myTable1. Now I want to add
>a grid to this form, but the grid is linked to another table, myTable2. I have placed a
>button "Show Grid" on the form with this code:
>
>sele &MyTable2
>With Thisform.Grid1
> .refresh
>EndWith
>wait wind "Now you can see the grid"
>
>However, when I click on the Show Grid button, the grid shows nothing except an empty
>white box.
>
>??
>thanks
>Steve
There is an incompetent controlsource probably.
with thisform.Grid1
.ColumnCount=-1
.Recordsource = m.myTable2
endwith
Cetin