Ok, well the ID value will be in the indicated field immediately after submit, so what precisely are you having trouble with. Is the issue that the values are in a repeating group and you're not sure how to refer to the ID from the last row?
Jimmy Rishe / Software Developer / Microsoft MVP
Qdabra Software