A
Andrew Backer
I have a question about the difference between refresh & requery :
What is it?
I have a form that uses me.Requery after performing a certain action.
I noticed that after doing this I could not access fields in VB
(Me.Recordset!FieldName, or other ways) without getting a 'no current
record' error. The thing that gets me is that all normal editing
still worked, the form looks ok, etc.
I changed to Me.Refresh and everything is ok.
When should I use one and not the other? I am going to change to
Me.Refresh most places now, but I am still curious.
Thanks,
Andrew Backer
What is it?
I have a form that uses me.Requery after performing a certain action.
I noticed that after doing this I could not access fields in VB
(Me.Recordset!FieldName, or other ways) without getting a 'no current
record' error. The thing that gets me is that all normal editing
still worked, the form looks ok, etc.
I changed to Me.Refresh and everything is ok.
When should I use one and not the other? I am going to change to
Me.Refresh most places now, but I am still curious.
Thanks,
Andrew Backer