Records are not displayed in DBGrid
From: Jacob Havkrog (jacobh_at_skrolledata.dk)
Date: 02/25/05
- Next message: Guillem: "Re: Records are not displayed in DBGrid"
- Previous message: Stefan Westner: "Re: .1 in Providername"
- Next in thread: Guillem: "Re: Records are not displayed in DBGrid"
- Reply: Guillem: "Re: Records are not displayed in DBGrid"
- Reply: Brian Bushay TeamB: "Re: Records are not displayed in DBGrid"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 25 Feb 2005 16:49:09 +0100
Hi
I have a TADOTable connected to an Access database, and a TDBGrid that
displays the rows.
When I delete a row using
MyADOTable.Delete;
then all but one of the rows in the TDBGrid are not displayed anymore. I
have to restart my app to see all the rows.
Doing
MyADOTable.Close;
MyADOTable.Open;
does not help. Mysterious.
Before I used a TwwDBGrid to display the data, and then there were no
problems. But I have to use TDBGrid instead, so I replaced it, and after
this I get this error.
I have the problem in 5 different DBGrids of similar setup, so I think the
problem must be the combination of TADOTable and TDBGrid and probably some
wrong setting somewhere ???
Can anybody help me ?
I use Delphi 5 update pack 1, and ADO update 2. This is the latest update
right ?
Thanks
Jacob
- Next message: Guillem: "Re: Records are not displayed in DBGrid"
- Previous message: Stefan Westner: "Re: .1 in Providername"
- Next in thread: Guillem: "Re: Records are not displayed in DBGrid"
- Reply: Guillem: "Re: Records are not displayed in DBGrid"
- Reply: Brian Bushay TeamB: "Re: Records are not displayed in DBGrid"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|