If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Deleting

I am Deleting from a DataGrid using a command button. Using a recordset to
do so. When I select a record
in the DataGrid and then choose the Delete option everything works just fine,
but if I don't select a
record and choose delete it automatically deletes the first record in the
datagrid. Is there a way that I
can make sure that a record is selected before the delete works.

Re: Deleting

"Ricky" <rickydoyle@hotmail.com> wrote in message
news:38fee2c6$1@news.devx.com...
>
> I am Deleting from a DataGrid using a command button. Using a recordset
to
> do so. When I select a record
> in the DataGrid and then choose the Delete option everything works just
fine,
> but if I don't select a
> record and choose delete it automatically deletes the first record in the
> datagrid. Is there a way that I
> can make sure that a record is selected before the delete works.
>
> Thanks