Stephen,
>I have a working form that I throw a few transactions together into a listbox so a user can see aspects of data before ordering a part. When I do a this.close() in a button click I get a warning about unsaved data.
>
>I have done a :
>this.dsPrint.Clear() ;
Are you saying you don't want the dialog to appear at all even when there are changes?
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