I feared as much. I need the value before the insert command.
I'm dealing with a .NET DataSet. When I insert a row, the insertion goes fine at the database when I call dataSetName.Update(). But the "in memory" PK of the DataSet remains a NULL value, and it does not know what value the database has allocated to the new PK.