Hello Plash et al,
I'd like to kindly ask for details about the following problem we ran into:
When is the LastInsertID correctly returned (especially for Oracle 10 and MS SQL 2005+) for TUniQuery components? Specifically, what UDac properties/settings might prevent it to be returned?
Is it only supposed to be returned for explicit INSERT statements and not after "UniQuery.Post" maybe?
We use both TUniQueries with single table selects as well as multiple table join selects, set the "UpdatingTable" property as well (CachedUpdates disabled). But often after Post'ing a row, both the key field of the new row as well as the "LastInsertId" are null. Do we manually need to call Refresh or Resync?
It'd be really great, if you could eloborate on this issue in detail. The help file (12/2008) does not provide enough details, unfortunately.
Thank you in advance,
Tobias