I have a ComboForm above a cDbCjGrid that controls what is displayed.
If what is to be display is nothing, like no data, a blank line is inserted at the top of the grid and the previously displayed data is moved down one row.
The OnChange of the ComboForm has code:
Send Rebuild_Constraints of oemCargo_DD
Send Clear of oemCargo_DD
Send Find of oemCargo_DD FIRST_RECORD 3
This works fine until the constraints are such that no data should be displayed

In order to properly clear the grid I added the following two lines:
Send MovetoLastRow of oCargoOneTrip_grid
Send MovetoFirstRow of oCargoOneTrip_grid

Any thoughts as to a better way of clearing the grid?
Thanks