How does Find work on a subform?

D

Dean Slindee

On a subform, if one does a Find operation on a text box (i.e. LastName),
will the Find operation: 1. limit itself to only rows that are children of
the parent form, or 2. search all rows in the child table?

If 2 is true, then I presume I would need a separate Search form to search
the child table fully?

Thanks,
Dean Slindee
 
J

John Vinson

On a subform, if one does a Find operation on a text box (i.e. LastName),
will the Find operation: 1. limit itself to only rows that are children of
the parent form, or 2. search all rows in the child table?

1. It searches only the Subform's current Recordsource query.
If 2 is true, then I presume I would need a separate Search form to search
the child table fully?

Well, if 2 were true (which it isn't) then you WOULDN'T need a
separate form - but since 1 is true, you do (or some VBA code).

John W. Vinson[MVP]
 
Top