Hi, As I can't use in my client app Oracle sequencies, I decided to use max(ID) + 1 method to increment the primary key (ID). My problem is where to do it. In desktop DB I used to simply add an AfterInsert event where I inrcemented the previous max(ID), but in an multiuser environment I thought it would be best to test the max(ID) just before posting, eg. in BeforePost event. But doing so Oracle generates an error about missing ID (prim key that is). What would be the best method to increment the primary key ID? I use OracleDataset.
Any suggestions really appreciated, thank you
georgh
[This message has been edited by georgh (edited 18 May 2001).]
Any suggestions really appreciated, thank you
georgh
[This message has been edited by georgh (edited 18 May 2001).]