[Gambas-user] DataSource & DataBrowser problem
John Rose
john.aaron.rose at ...626...
Mon Feb 6 19:04:17 CET 2012
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.
More information about the User
mailing list