I'm using Delphi 5 + an Ms-Access97 database.
In the database there are several tables.
Every table has a unique key (KeyField) of type AUTONUMBER.
Between Table1 and Table2 there is a one-to-many relation.
This is what I have to do :
1) Insert a record in Table1 (unique key = autonumber-field)
2) Insert a record in Table2 (unique key = autonumber-field)
Before the Insertion in Table2 I have to fill in the value
of the KeyField (autonumber) of Table1
I have the following problem :
1) Works Fine;
2) when I'm trying to retrieve the value of the autonumber-field of Table1
I get the value '0', so I can't insert a record in Table2.
Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.