Board index » delphi » Insert doesn't work correctly on Acces 97 with ADO
D. Riemer
![]() Delphi Developer |
Sat, 25 Dec 2004 23:45:16 GMT
|
D. Riemer
![]() Delphi Developer |
Sat, 25 Dec 2004 23:45:16 GMT
Insert doesn't work correctly on Acces 97 with ADO
my application connects to an Access97 mdb-file. the insert doesn't work
correctly .. autocount-fields are set to Null (after Post to 0) and DefaultValues are not set. Does anybody know how to fix it?? thanx |
D. Rieme
![]() Delphi Developer |
Sun, 26 Dec 2004 00:47:18 GMT
Re:Insert doesn't work correctly on Acces 97 with ADOsome additional information. it's only the update that doesn't work .. closing the table and opening it again shows that the post itself is working fine. i tried updating the mdac to 2.7 ... no difference the problem can be seen using the /demos/ado/adotest - sample Dirk Quote"D. Riemer" <Dirk.Rie...@cgey.com> wrote in message Quote> my application connects to an Access97 mdb-file. the insert doesn't work |
Jeff Langsto
![]() Delphi Developer |
Sun, 26 Dec 2004 01:25:47 GMT
Re:Insert doesn't work correctly on Acces 97 with ADOYou might check the dynamic property "Update Criteria". I know you can set this to retrieve the autonumber and defaults after an insert or update. Jeff Langston Quote"D. Riemer" <Dirk.Rie...@cgey.com> wrote in message Quote> my application connects to an Access97 mdb-file. the insert doesn't work |
Jeff Langsto
![]() Delphi Developer |
Sun, 26 Dec 2004 01:30:57 GMT
Re:Insert doesn't work correctly on Acces 97 with ADOThis is the correct statement. You can issue this statement in the event OnRecorsetCreate. ADODataSet1.Recordset.Properties['Update Resync'].Value := Jeff Langston Quote"Jeff Langston" <JeffLangs...@CashlessSystems.com> wrote in message Quote> You might check the dynamic property "Update Criteria". I know you can set |
D. Rieme
![]() Delphi Developer |
Sun, 26 Dec 2004 01:40:22 GMT
Re:Insert doesn't work correctly on Acces 97 with ADOThank U .. could U tell me which Unit I need for the ad.. constants? Quote"Jeff Langston" <JeffLangs...@CashlessSystems.com> wrote in message Quote> This is the correct statement. You can issue this statement in the event |
D. Rieme
![]() Delphi Developer |
Sun, 26 Dec 2004 01:57:32 GMT
Re:Insert doesn't work correctly on Acces 97 with ADOI found out .. ADOInt contains the constants doesn't seem to work .. i get an EOLEException (Row handle referred to a thanks anyway Quote"Jeff Langston" <JeffLangs...@CashlessSystems.com> wrote in message Quote> You might check the dynamic property "Update Criteria". I know you can set |
Jeff Langsto
![]() Delphi Developer |
Sun, 26 Dec 2004 01:52:31 GMT
Re:Insert doesn't work correctly on Acces 97 with ADOSorry it is in ADOInt.pas Jeff Langston Quote"Jeff Langston" <JeffLangs...@CashlessSystems.com> wrote in message Quote> I think: |
Jeff Langsto
![]() Delphi Developer |
Sun, 26 Dec 2004 01:48:41 GMT
Re:Insert doesn't work correctly on Acces 97 with ADOI think: uses Jeff Langston Quote"D. Riemer" <Dirk.Rie...@cgey.com> wrote in message Quote> Thank U .. could U tell me which Unit I need for the ad.. constants? |
Brian Bushay Team
![]() Delphi Developer |
Sun, 26 Dec 2004 11:06:14 GMT
Re:Insert doesn't work correctly on Acces 97 with ADOQuote>my application connects to an Access97 mdb-file. the insert doesn't work -- Brian Bushay (TeamB) Bbus...@NMPLS.com |
D. Rieme
![]() Delphi Developer |
Sun, 26 Dec 2004 16:04:12 GMT
Re:Insert doesn't work correctly on Acces 97 with ADOI do use Jet 4.0 as far as I can see here are the corresponding TADOConnection values connection string : provider "Brian Bushay TeamB" <BBus...@Nmpls.com> wrote in message Quote
|
Brian Bushay Team
![]() Delphi Developer |
Mon, 27 Dec 2004 11:33:03 GMT
Re:Insert doesn't work correctly on Acces 97 with ADOQuote>I do use Jet 4.0 as far as I can see want autoincrement values returned. -- |
1. Insert doesn't work correctly
2. ADO Query parameters: ParamByName doesn't work correctly
3. QReport doesn't work when native connection to MS Access 97 is used
4. BDE doesn't work with MS Acces ...
5. Locate doesn't work correctly
6. BUG: CoolBar doesn't work correctly
7. LoadString doesn't works correctly
8. TQuery.Insert doesn't work with Sybase.
9. generators, ibtable - Insert via SQL works , append/post doesn't