I have an Access database with hyperlink fields that I have brought into the dataset. Now I want to search the dataset for the visible portion of the hyperlink field and delete the row I find (I haven't started the error handling yet). Thus I am trying to use the "Like" operator in a SQL statement but keep getting an error. Here is my code.
Dim strSQL As String
strSQL = "[MSRP] like " & "'" & "999" & "*" & "'"
Dim anyRow() As DataRow = DsInvoiceParse1.Table1.Select(strSQL)
DsInvoiceParse1.Table1.Rows.Remove(anyRow(0))
Any ideas how to correct this would be appreciated.
Dim strSQL As String
strSQL = "[MSRP] like " & "'" & "999" & "*" & "'"
Dim anyRow() As DataRow = DsInvoiceParse1.Table1.Select(strSQL)
DsInvoiceParse1.Table1.Rows.Remove(anyRow(0))
Any ideas how to correct this would be appreciated.