How to Update or Replace records all DBFs in one folder based on fields across tables with SQL via ODBC in VB.NET?.
If there is another best solution. I mean the fields in all database tables in one folder named "ITM" So I want to change or update e.g. "TEST R 1000" to TEST RC 1000 LTP" If there are other alternatives through other database providers please recommend. Example screenshot I attach below so example I have DBF table A,B,C,D,E I want to change "TEST R 1000" to TEST RC 1000 LTP" or that I marking yellow
Imports System.Data.Odbc
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
Private Sub Update_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Update.Click
Dim connection As New OdbcConnection
Dim strConnection As String
Dim pathDBF As String
Dim strSQL As String
pathDBF = "D:\DBF"
strConnection = "Driver={Microsoft dBASE Driver (*.dbf)};DriverID=277;Dbq=" & pathDBF
connection.Open()
End Sub
End Class

