I have a program that I'm building and I have a form load event that loads the data from a table, but when I try and load the data from a query I get an error. Here is my code:
MyTable = MyDa.GetData()
If MyTable.Rows.Count > 0 Then
Dim MyRow As dsCM2008.tblSoftwareRow = CType(MyTable.Rows(0), dsCM2008.tblSoftwareRow)
Catch ex As Exception
There is in the ShowData(MyRow). Since the query uses a Like "TypeOfSoftware" in the tblSoftware table, i.e. "AntiVirus", "AntiSpam", "Firewall", "Operating System" etc, I'm not getting the data loading from the query. Any help would be greatly appreciated.
Also, does anyone know how to bind a combobox with code to a table or query?