Hello taraj & Bob!
I've been searching for my question everwhere for a few days and I finally came to this forum. This one is exactly like my problem and would love to find out how you guys solved this issue.
I've tried your suggested code, but can't past the "Dim rst As DAO.Recordset" line.
I placed this code in command button's property, and clicked on build event. It opend
VB window, I pasted the whole script and this was what I had after I update the changes.
==code==
Private Sub Command8_Click()
Dim rst As DAO.Recordset
Set rst = Me![client-query].Form.RecordsetClone
rst.MoveFirst
With rst
.Edit
!Name = True
.Update
End With
End Sub
==code end==
by the way- my Main form is called "Main-enter" and sub form is called "client-query". Field I'm trying to update here is "Name". But is it possible to update multiple fields (this I will ask again, after I can get the first part working)?
What am I missing? and when you say "set reference to the Microsoft DAO 3.6 Object Library", how do you do that?
Can you guys please help!!!! I going crazy with this one...