Hi Forum,
I have problems to add and update new records from multi tables in the same form using ADO connetion. I use ODBC and access2000
There is some tips about this.
And another thik with this code i can't clean the fields :
What is wrong ?
Private Sub Command4_Click()
Dim n As Integer
Dim adoSecondaryRs As Recordset
n = txtfields(0).Text
Call contaId
Set adoSecondaryRs = New Recordset
adoSecondaryRs.ActiveConnection = m_oConn
adoSecondaryRs.CursorLocation = adUseClient
adoSecondaryRs.Open "Select * from", m_oConn, _
adOpenStatic, adLockOptimistic
txtfields(0).Text = n
With adoSecondaryRs
If Not (.BOF And .EOF) Then
mvBookMark = .Bookmark
End If
.AddNew
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.