To try & clarify this problem, my code for the button (in my FMain form)
click that opens the form which contains the DataSourceCountry &
DataBrowserCountry controls is shown below. When the project runs, the
FCountryMaintence form is displayed OK except that the DataSourceCountry
control is empty with the controls on its base all grayed out. I know
that MDatabase.DatabaseConnection is valid since it is used successfully
to do other database retrievals & updates.
Public Sub ButtonCountryMaintenance_Click()
Dim hForm As Form
hform = New FCountryMaintenance
FCountryMaintenance.DataSourceCountry.Connection =
MDatabase.DatabaseConnection
FCountryMaintenance.DataSourceCountry.Table = "country"
FCountryMaintenance.DataBrowserCountry.Columns = ["country"]
hForm.Show()
End