>Good morning all,
>
>I have two problems with using a grid in VFP 5,
>
>1) The source for the grid is a table with several hundred records, so I do a set filter to fieldname = XXXX in the grid init method. The filter does not seem to be applied because at run time the grid still shows all the records in the table.
Be sure that you set filter on Grid.RecordSource table, and refresh grid after this. BTW, you can make it 100% reliable using DE.Cursor.Filter property.
>2) The same grid (which has two columns) is part of a tab sequence defined in a tablist.
>When I tab into the grid and the grid has focus, I cannot tab to the next object on the form but each tab toggles between the columns 1 and 2.
This is normal grid behaviour. If you want to change it, you should write some code in Grid.ColumnX.Lostfocus event.
Edward Pikman
Independent Consultant