Board index » delphi » ADO, Access 2000 - inserts not showing
John Rossi
![]() Delphi Developer |
Thu, 30 Jan 2003 03:00:00 GMT
|
John Rossi
![]() Delphi Developer |
Thu, 30 Jan 2003 03:00:00 GMT
ADO, Access 2000 - inserts not showing
Hi,
I have two TADOQuery components connected to two separate TDataSource When I do an INSERT in ADOQuery1, I can see the result immediately in the If instead I do an EDIT to a record in ADOQuery1, it shows up in ADOQuery2 Any ideas what is going on? Thanks, (using D5 under Windows 2000 SP1. Cursor Location = clUseClient, CursorType |
John Ross
![]() Delphi Developer |
Sat, 01 Feb 2003 03:00:00 GMT
Re:ADO, Access 2000 - inserts not showingFound out what it was...ADO inserts are *so slow* that the program was refreshing the second query even before the first one had finished inserting the record. The slowness of ADO with Delphi is quite frightening. What I am now puzzled about is how to stop the program until the insert has John Quote"John Rossi" <jo...@psitek.removethisbit.co.uk> wrote in message Quote> Hi, |
DRS
![]() Delphi Developer |
Sun, 02 Feb 2003 03:00:00 GMT
Re:ADO, Access 2000 - inserts not showingQuote"John Rossi" <jo...@psitek.removethisbit.co.uk> wrote in message Quote> Found out what it was...ADO inserts are *so slow* that the program was -- "Relationships are hard. It's like a full-time job, and we should treat it |
John Ross
![]() Delphi Developer |
Sun, 02 Feb 2003 03:00:00 GMT
Re:ADO, Access 2000 - inserts not showingI did think about using that but the time delay would need to vary according to machine and connection speeds. Even then, it seems to be a bit of an undependable solution since you are *hoping* that the post will take place within a certain amount of time...a simulataneous machine defrag, for example, might cause a massive slowdown beyond the time limit. What I am thinking might be one approach is to record in local variables the Can anyone think of a more elegant solution using Access 2000? Any way of Thanks, Quote"DRS" <d...@removethis.ihug.com.au> wrote in message news:3999aa93_1@dnews... |
jo..
![]() Delphi Developer |
Mon, 03 Feb 2003 03:00:00 GMT
Re:ADO, Access 2000 - inserts not showingI use the following code to test for the update and loop until it is populated. I agree, it's not so clean, but it's the best I have come up with. I also will be writing a timer into the code to prompt to retry or cancel after a certain number of seconds (10 or so). Hope this helps! John 'test for value In article <8ndml1$k...@bornews.borland.com>, Quote> I did think about using that but the time delay would need to vary - Hide quoted text - - Show quoted text - Quote> > "John Rossi" <jo...@psitek.removethisbit.co.uk> wrote in message Before you buy. |
Bob Wasaf
![]() Delphi Developer |
Tue, 11 Feb 2003 03:00:00 GMT
Re:ADO, Access 2000 - inserts not showing"John Rossi" wrote Quote> (using D5 under Windows 2000 SP1. Cursor Location = clUseClient, ctKeyset I had a simular problem using clUseClient, in that, since it is only a local It also happened when I created a record on the Master of a Master/child Bob Wasaff |
1. show decimals in Edit Field (Ado / Access 2000)
2. ADO MSSQL 2000 not refresh Grid after insert
3. Inserting records into Access 2000 using ADO
4. Bug in Insert - Access 2000, ADO 2.1
5. How to get autonumber of record after ADO Insert in Access 2000 with Delphi
6. Access 2000 default values/autoinc not shown before post
7. Access 2000 default values/autoinc not shown before post
8. Record locking with ADO Express, ADO 2.5 and Access 2000 .mdb files
9. Delphi 5.1 Windows 2000 and Jpegs Not Showing with Stretch
10. Insert with duplicate key does not create an error in SP, SQL Server 2000