I thought I'd found the solution (when I looked at the documentation again), namely to use the Update & Refresh methods on the controls as per the code below: FMain.ValueBoxLatitude.Value = MDatabase.ResultSite!latitude FMain.DataSourceCountry.Connection = MDatabase.DatabaseConnection FMain.DataSourceCountry.Table = "country" FCountryMaintenance.DataSourceCountry.Update() FCountryMaintenance.DataSourceCountry.Refresh() FMain.DataBrowserCountry.Columns = ["country"] FCountryMaintenance.DataBrowserCountry.Update() FCountryMaintenance.DataBrowserCountry.Refresh()
However, that didn't work. Has anyone got the DataSource & DataBrowser controls working in conjunction with each other? If so, I'd be grateful if you could post some details with its associated project attached. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user