Andromeda31
Registered User.
- Local time
- Today, 16:37
- Joined
- Oct 14, 2009
- Messages
- 33
Access 2003 format database in Access 2007, I have a button at the top
of a continuous subform to 'select' or (or deselect) all of a particular checkbox
I am trying to get the code in this post
http://www.access-programmers.co.uk/forums/showthread.php?t=208469
to work.
The recordset bit is working now it is set to: Dim rst As DAO.Recordset
When I run the complete code it crashes with Runtime error '3265' item cannot be found in this collection...
When I click 'debug' the highlighted line is :
If rst![fieldname] Then
Any ideas on how to troubleshoot this further?
Once I define a recordset how can I use debug.print ([fieldname])
to see if it can find the field?
Many thanks
AC
of a continuous subform to 'select' or (or deselect) all of a particular checkbox
I am trying to get the code in this post
http://www.access-programmers.co.uk/forums/showthread.php?t=208469
to work.
The recordset bit is working now it is set to: Dim rst As DAO.Recordset
When I run the complete code it crashes with Runtime error '3265' item cannot be found in this collection...
When I click 'debug' the highlighted line is :
If rst![fieldname] Then
Any ideas on how to troubleshoot this further?
Once I define a recordset how can I use debug.print ([fieldname])
to see if it can find the field?
Many thanks
AC