| View previous topic :: View next topic |
| Author |
Message |
Hs Guest
|
Posted: Fri Mar 16, 2007 4:52 am Post subject: Delete current Record with IBQuery |
|
|
How can I delete the current selected record with IBQuery
when it does not have any unique field and all of it's
fields can be equal with another record.
So I can't write DELETE FROM X WHERE ID=11.
With IBTable I can call IBTable.Delete.
Thanks. |
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Fri Mar 16, 2007 6:43 am Post subject: Re: Delete current Record with IBQuery |
|
|
Hs wrote:
| Quote: |
How can I delete the current selected record with IBQuery
when it does not have any unique field and all of it's
fields can be equal with another record.
So I can't write DELETE FROM X WHERE ID=11.
With IBTable I can call IBTable.Delete.
Thanks.
|
In what context are you deleting the current record? If you are
deleting the current record in a stored procedure you may be able to
use RDB$DB_KEY to identify the record.
--
Bill Todd (TeamB) |
|
| Back to top |
|
 |
|