Private Sub First_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim com As String = "SELECT field1,field2,field3,field4 FROM(Table1) WHERE (((Table1.field4)= True));
Dim ole As New OleDbDataAdapter(com, OleDbConnection1)
ole.Fill(Ds1, "Table1")
End Sub
The SELECT query was generated from MS Accsses ,I inserted it like it came from SQL View and still nothing happens.
I have selected, in properties window, the DataSource property and it is set to Table1.