Item not found in this collection

  • Thread starter QueryDefs and VBA
  • Start date
Q

QueryDefs and VBA

Hi, I have 450 query in my database. Up until now everything was working fine. I now try to run some VBA code that was always working and it is not finding a saved query anymore why is that? I have noticed during debugging that there are 450 query in the querydefs object but there are only 256 listed items that are my querys!

Should I reduce the number of querys so the VBA will work? Should I transfer the saved querys from the database window to queries that would only be compiled in my modules

thank you for helping me

Simon
 

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