Re: Deleting a record
- From: "Vitali Kalinin" <vitkalinin@xxxxxxxxx>
- Date: Tue, 4 Mar 2008 17:27:23 +0200
"Paulo Hoffmann" <p@xxxxx> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:47cd5f3c$1@xxxxxxxxxxxxxxxxxxxxxxxxx
Actually you do. Probably yours dataset and query don't share same
Hello,
I have an Access database that is handled only with SQL commands through
ADO queries.
When I delete a record from the database, I need to read the table again
in order to update a combobox. But just after the delete (SQL) command, it
seems that the table is not updated yet and I get the deleted item on the
combobox again.
If I wait a while and then read the table, the deleted record is gone and
everthing is OK. But I do not want to wait to read the table.
Is there a way to refresh the Access table using a query?
Am I doing something wrong?
connection object (please note: object, but not connection string). Thus you
have to deal with Jet Latency problem. Also in this specific case it would
be easier and more efficient also to do it through dataset.delete.
.
- References:
- Deleting a record
- From: Paulo Hoffmann
- Deleting a record
- Prev by Date: Re: Deleting a record
- Next by Date: Re: Reconnect does not work TADOconnection
- Previous by thread: Re: Deleting a record
- Index(es):
Relevant Pages
|