docmd.findrecord

S

seeker

How can I limit the docmd.findrecord to one column in the datasheet subform?
It finds anything that starts with c for example whether that c is in the
name column or address column. Thank you.
 
A

Allen Browne

Use FindFirst on the RecordsetClone of the form instead.

Here's an example of using FindFirst to search a specific column. The
example uses an unbound combo, but you can do the same thing with an unbound
text box:
http://allenbrowne.com/ser-03.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top