Hi,I'm trying to do a simple program, in VB6, which has a button to grab an only .dbf files, i put the CommonDialog in the form to do that, & it's working, I have also a text box which it shows the path of the file name that i grabed.
Now i have another button that supposadly has to manipulate the data & change a column in it, the problem that i don't know how to do that. Do i have to put a ADODC object in the form? But then how am i suppose to attach the table to it, since every time i'm going to browse for a table it is going to be a different .dbf file (table).
Can someone help me.
This is my code so far:
Private Sub cmdBrowse_Click()
dlgCommon.Filter = "Database Files(*.dbf)|*.dbf|All Files(*.*)|*.*"
dlgCommon.ShowOpen
txtFileName.Text = dlgCommon.FileName
End Sub
Thank you,
Now i have another button that supposadly has to manipulate the data & change a column in it, the problem that i don't know how to do that. Do i have to put a ADODC object in the form? But then how am i suppose to attach the table to it, since every time i'm going to browse for a table it is going to be a different .dbf file (table).
Can someone help me.
This is my code so far:
Private Sub cmdBrowse_Click()
dlgCommon.Filter = "Database Files(*.dbf)|*.dbf|All Files(*.*)|*.*"
dlgCommon.ShowOpen
txtFileName.Text = dlgCommon.FileName
End Sub
Thank you,