I haven't used C in years, but if I remember correctly you need to use
@@IDENTITY
to retrieve the Last ID.
Anyone more familiar, correct me if I'm wrong.
Banderson
Junior Poster in Training
66 posts since Aug 2004
Reputation Points: 17
Solved Threads: 8