S
Swiftusw
I have a data set defined with a table that has an ID column with
AutoIncrement set to 'true'. The dataset was generated from a SQL data
adapter. If there is data in the table, then when I do
TABLE.NewTABLERow() the ID value increments fine and
DATASET.TABLE.IDCOLUMN.AutoIncrement = true. However, if the table is
empty then TABLE.NewTABLERow() results in an ID of 0 and
DATASET.TABLE.IDCOLUMN.AutoIncrement = false. Has anyone seen this
behavior and know of a workaround (other than putting seed data in the
database to force the AutoIncrement to act correctly).
Thanks,
Matt
AutoIncrement set to 'true'. The dataset was generated from a SQL data
adapter. If there is data in the table, then when I do
TABLE.NewTABLERow() the ID value increments fine and
DATASET.TABLE.IDCOLUMN.AutoIncrement = true. However, if the table is
empty then TABLE.NewTABLERow() results in an ID of 0 and
DATASET.TABLE.IDCOLUMN.AutoIncrement = false. Has anyone seen this
behavior and know of a workaround (other than putting seed data in the
database to force the AutoIncrement to act correctly).
Thanks,
Matt