S
SpookiePower
I have a few questions to this code that I'm trying to
understand.
strFind = " [kundenummer] = " & Me.[tbsogkunde]
With Me.RecordsetClone
.FindFirst strFind
If .NoMatch = False Then
Me.Bookmark = .Bookmark
Else
Beep
End If
End With
I have found that Me.RecordsetClone is -
"Create a clone of the forms recordset"
But what does it means ? It is the word "recordset" that I dont know
the real meaning of. I think of it as the one single recordset that is
displayed in the form, but this single "recordset" only holds one
customer, so why search through this single recordset......I think.
But my guess is that it takes a copy of the complete table
(Record source) connecting to the table and then search through
that copy to find the right customer...I hope.
..Findfirst -
As I can find out it then search through the copy using the criteria
strFind.
I guess that this line - If .NoMatch = False Then
means - If something is found...then ?
But this one Me.Bookmark = .Bookmark
I can't understand.
Someone who can answer some of my questions ?
www.photo.activewebsite.dk
understand.
strFind = " [kundenummer] = " & Me.[tbsogkunde]
With Me.RecordsetClone
.FindFirst strFind
If .NoMatch = False Then
Me.Bookmark = .Bookmark
Else
Beep
End If
End With
I have found that Me.RecordsetClone is -
"Create a clone of the forms recordset"
But what does it means ? It is the word "recordset" that I dont know
the real meaning of. I think of it as the one single recordset that is
displayed in the form, but this single "recordset" only holds one
customer, so why search through this single recordset......I think.
But my guess is that it takes a copy of the complete table
(Record source) connecting to the table and then search through
that copy to find the right customer...I hope.
..Findfirst -
As I can find out it then search through the copy using the criteria
strFind.
I guess that this line - If .NoMatch = False Then
means - If something is found...then ?
But this one Me.Bookmark = .Bookmark
I can't understand.
Someone who can answer some of my questions ?
www.photo.activewebsite.dk