FrankThynne
Technical User
I'm using Delphi 6 BDE queries. I hear rumours that autoinc "doesn't work" with Delphi, and I am not succeeding with them either, despite using AutoRefresh=True and AutoGenerateValue=arAutoInc. In particular I can't retrieve the value of an autoinc field after adding a row.
The problem seems to arise only when the query requires cached updates because of joined tables (I'm only updating one). Simpler queries don't show the problem.
The rumours suggest a long-standing problem, and the documentation about autorefresh and argeneratevalue suggests that Borland has tried to address it - but have they succeeded yet?
The problem seems to arise only when the query requires cached updates because of joined tables (I'm only updating one). Simpler queries don't show the problem.
The rumours suggest a long-standing problem, and the documentation about autorefresh and argeneratevalue suggests that Borland has tried to address it - but have they succeeded yet?