G
Guest
Hello,
I've just set up a form in my application where the user selects several
conditions, presses a "GO"-style command button, and a new form appears with
the record matches is descending order in a subform. Problem is, in some
cases there are over 1,000 matches and I'd like to add a combo box where the
user can select the number of records he/she would like to view. I've
figured out that it's the Row Source Type = Value List and perhaps Row Source
= 10, 50, 100, ALL in the combo box - but I'm unsure of the code needed to
tie the combo box into the existing code behind the button that executes the
search, limiting the number of records displayed.
Also, I want to make sure that if someone selects "View 50" and there are
only 30 records, that it doesn't error out. . .
Many, many, many thanks for all your help. . . .
Marika
I've just set up a form in my application where the user selects several
conditions, presses a "GO"-style command button, and a new form appears with
the record matches is descending order in a subform. Problem is, in some
cases there are over 1,000 matches and I'd like to add a combo box where the
user can select the number of records he/she would like to view. I've
figured out that it's the Row Source Type = Value List and perhaps Row Source
= 10, 50, 100, ALL in the combo box - but I'm unsure of the code needed to
tie the combo box into the existing code behind the button that executes the
search, limiting the number of records displayed.
Also, I want to make sure that if someone selects "View 50" and there are
only 30 records, that it doesn't error out. . .
Many, many, many thanks for all your help. . . .
Marika
