MESSAGEBOX(ThisForm.ControlFile.Columns(1).ControlSource) MESSAGEBOX(ThisForm.ControlFile.Columns(2).ControlSource)which gives the proper field names. Then, I assign the grid to the cursor which I just created in the Init() of the form:
ThisForm.ControlFile.RecordSource='Control' MESSAGEBOX(ThisForm.ControlFile.Columns(1).ControlSource) MESSAGEBOX(ThisForm.ControlFile.Columns(2).ControlSource)Both ControlSource are now empty. Anyone can tell me the trick to preserve the grid properties?