Right, and I used that when I wasn't implementing the formview. When not implementing the formview, you are calling the data access methods directly in code, so it's easy to return a value.
But in a form view, the control itself is accessing the data access code. I tried putting an output parameter in the form view but it didn't seem to access this returned value.
I've seen some examples where you can get the newly inserted value in the datasource_inserted event but it didn't seem I could do it.
In a nutshell, I have one procedure that inserts a new record. Then I want to grab that new id and use that to insert that value with others into another table. I have a multi-select list box on the form, and based on the user selections, I have to insert or update values in another table. You can bind the items in the listbox but you really can't bind the selected items. You have to generate that through code.