Hello,
Thanks for the replies. Tried the .update method. That does not work. Just returns an empty record. Finally wrote a small procedure to store the datacontrol values in an array sized by the number of controls on the form. (form.Children.Count) Then use a similar procedure to read the array back to the datacontrols. This method seems to work. The procedures are small and execute quickly. I'll try the datasource.cancel method and see if that works. However I'm debugging a large project and cannot spend much more time on this piece. I'll post the result of my test of the .cancel method. Thanks, Marty ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user