Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / February 2007

Tip: Looking for answers? Try searching our database.

RecordCount on Subform using ADO

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Debbie - 15 Feb 2007 05:24 GMT
Hello all,
I am using ADO and I need to get the record count for a subform within a
main form.  I see lots of appends using the recordset clone when using DAO
but recordset clone is not supported under ADO.  Does anyone know how I can
do this?  Thanks,
Debbie
kingston - 15 Feb 2007 14:10 GMT
Try:

Me.SubFormName.Form.Recordset.Recordcount

>Hello all,
>I am using ADO and I need to get the record count for a subform within a
>main form.  I see lots of appends using the recordset clone when using DAO
>but recordset clone is not supported under ADO.  Does anyone know how I can
>do this?  Thanks,
>Debbie
Debbie - 15 Feb 2007 17:25 GMT
Thank you - I tried it but it says that the property/method is not supported.
 I have a feeling I cannot reference a form's recordset at all, that's the
part that isn't supported under ADO.   Thank you anyway!

> Try:
>
[quoted text clipped - 6 lines]
> >do this?  Thanks,
> >Debbie
kingston - 15 Feb 2007 18:40 GMT
Check your references by opening a VB editor window and selecting Tools-
>References...  I'm positive that this works in ADO as I use this in an A2000
database that has DAO turned off by default.

>Thank you - I tried it but it says that the property/method is not supported.
>  I have a feeling I cannot reference a form's recordset at all, that's the
[quoted text clipped - 5 lines]
>> >do this?  Thanks,
>> >Debbie
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.