G
greifedc
Guest
Hello,
I am working with a microsoft Access97 (OLE DB) database. I have no experience with this. I need to find the 1 row that matches variables in 5 different colums. Then extract a couple of fields from (found row) and set them to a textbox.
I could really use some help getting started. I tried to use a sample from another post but had no luck. Can I use SQL statements with a OLE DB? If so, how?
Dim srch As String
srch = "Tool diameter= " & dia & ""
Dim fndrow As DataRow() = ToolsDataSet1.Tables("Tool table").Select(srch)
I am working with a microsoft Access97 (OLE DB) database. I have no experience with this. I need to find the 1 row that matches variables in 5 different colums. Then extract a couple of fields from (found row) and set them to a textbox.
I could really use some help getting started. I tried to use a sample from another post but had no luck. Can I use SQL statements with a OLE DB? If so, how?
Dim srch As String
srch = "Tool diameter= " & dia & ""
Dim fndrow As DataRow() = ToolsDataSet1.Tables("Tool table").Select(srch)