Yep that seems to work. I did try that previously (I think) but it seems somewhere along the line I corrupted my database. I started over from scratch ... :-(
Overall it has been a very enlightening exercise. Now what was I doing before I started this ....? Lewis On 01/20/2015 05:17 PM, T Lee Davidson wrote: > Well, looks like I was wrong again. > > Despite the documentation for DataSource.Update saying, > "Reload the DataSource data and update all bound child controls > accordingly," > it apparently tries to write to the database. > > The .Cancel method is the one to use to, uh, cancel any current > modifications. > DataSource.Cancel: "Cancel any current edition of child controls." > > > Simple sample attached. > > > Lee ------------------------------------------------------------------------------ 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