>THISFORM.Grid1.RecordSource = "tablename" && attach the grid
Also, if you are not using the table "as is" in your grid, but only several fields, you should re-assign ControlSource for your columns
to proper fields again.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison