Determining number of records displayed on a form...

B

Brad Pears

I have a form/subform in a parent-child relationship. Is there a method I
can use to give me the total number of records currently displayed in the
sub-form (the child form)? Currently I am doing a "select" and then getting
the recordcount from the recordset object. Another method I have used is the
dcount function and send it the recordsource property for the form... Is
there an easier way, something like "me.count" or something along those
lines?? ( I actually think the .count method of the .Form object returns
the number of open forms??

Thanks,

Brad
 
B

Brad Pears

Thanks for that Roger. I actually had to use ".recordcount" as opposed to
just ".count "- but using the "recordsetclone" method worked...
 

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