This just showed up on a table with a Generator Name set and on gmPost set.
All works if I don't set the table to use Applied Updates.
Once I do that and want to retrieve an ID before Applying Updates I get ZERO.
Fair enough, I then GET the Next ID via SQL and post, all looks good until I hit Apply Updates then the ID is incremented by the TUniTable component.
Perhaps that function should check for NULL or Zero before generating a new ID?
Its an easy fix to only use self generated IDs but..
FB Generator ID with Applied Updates
Re: FB Generator ID with Applied Updates
Unfortunately, we could not reproduce the issue in the way you have described.
Please send a small sample to demonstrate the issue to viktorv*devart*com, including a script to create and fill in test database tables.
Please send a small sample to demonstrate the issue to viktorv*devart*com, including a script to create and fill in test database tables.
Re: FB Generator ID with Applied Updates
Thank you for the information. We have reproduced and fixed the issue. The fix will be included in the next UniDAC build.