K
Ken Hubbard
A while ago, I posted a question about programming an autosearch feature I
wanted to add to a customer list on a subform. I use a double click to
bring up the record for editing, but with hundreds of customers, I wanted to
"On KeyPress" have the record selection go to the box with the first letter
matching the key pressed.
I received this code (below) as an answer, which looks like it will send me
on the right trail, but I don't understand the "[XYZ] LIKE ""x*"""
The ".findfirst" doesn't come up in help and the .findnext doesn't have any
criteria
I would appreciate any help.
with me.recordsetclone
.findfirst "[XYZ] LIKE ""x*"""
if .nomatch then
msgbox "no such record"
else
me.bookmark = .bookmark
endif
end with
wanted to add to a customer list on a subform. I use a double click to
bring up the record for editing, but with hundreds of customers, I wanted to
"On KeyPress" have the record selection go to the box with the first letter
matching the key pressed.
I received this code (below) as an answer, which looks like it will send me
on the right trail, but I don't understand the "[XYZ] LIKE ""x*"""
The ".findfirst" doesn't come up in help and the .findnext doesn't have any
criteria
I would appreciate any help.
with me.recordsetclone
.findfirst "[XYZ] LIKE ""x*"""
if .nomatch then
msgbox "no such record"
else
me.bookmark = .bookmark
endif
end with