Lee,
Thanks for your response. Yes I'm working with only one record at a time. I'm unclear as to where to use the refresh method. The form is used to input data including name, address , phone and state. There is the possibility that multiple datacontrols may be changed at one time. Must I use the refresh method with each datacontrol or can I apply it to the datasource? I've tried refreshing the datasource, in the cancel function, but that does not seem to work. There is got to be a way of refreshing all datacontrols on a form. One other question - If I create a record intending to add data and then cancel by not updating the datasource is a blank record added to the table? Thanks ------------------------------------------------------------------------------ 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