Craig,
>I'm nearly there! This is working OK, but I am losing context somewhere - I'll try and explain:
>
>I have a single webform with a list of names (hyperlinked)
>Selecting a name loads the details in the same form with save/cancel/delete functions - this all works perfectly.
>
>The Add function is still eluding me somewhat
>There is a button that calls the add functionality:
>This is not erroring now - the edit fields are clearing as expected
>However, when I attempt to save the context is getting lost somewhere and I am overwriting the first record.
>
>Happy to send you the code if that will clarify things.
Sending me the page that contains your code would be great...just sent it to me via direct e-mail.
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com