>>In Load Event of the form.
>
>Thanks, now another problem due to this. The table name from which the cursors are created, is not available in Load() as I am passing them as paramter to the form
>
>Plus the RecordSource of the grids are also not available to be initialized before the grid materliaizes.
>
>Please advise.
O, I see.
Put it in Init event of the form and set Grid properties programaticly:
CREATE CURSOR NameOfTheCursorHere .........
thisform.Grid1.RecordSource = []
WITH thisform.Grid1
.RecordSource = [NameOfTheCursorHere]
.Column1.ControlSource = [NameOfTheCursorHere.FieldName]
....
ENDWITH
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.