>Hi All:
>
>My grid is populated with data from a cursor. The problem is that the fields that the grid displays may or may not have any data. This affects the way the data is displayed, in that, if the first 2 records have no data in the field being displayed, then the grid displays them as blanks. Now if the next 2 records have data in the fields being displayed, the grid displays them after the 2 fields that have no data.
>
>What I would like to do is, if there is no data in the field being displayed for any row, then don't display that field for that record. In short, I don't want to see blank fields being display in the grid, they all should move up.
>
>any suggestions? TIA.
>
>Ravi
If you don't want to show empty records in the grid than filter them out in the query that creates cursor.
--sb--