I have several forms that use dbgrid to show a group of records. If I use the
delete button to delete the last record in the group I get an error message
Run-time error '3021': No current record
The code that I am using on the delete button is as follows:
If .EOF Then .MoveLast
Obviously it gets hung on the MoveLast ... but that seems necessary to me in
case a person deletes the last record in a group.
Thanks in advance for your help!