Do not use on any
shared computer
May 17, 2008 10:50am pdt
05.09.2008 at 12:35PM PDT, ID: 23390593 | Points: 500
[x]
Attachment Details
MS Access 2003 : Error 3265 "Item not found in this collection"
I'm running a Macro that runs the code exporting a table & a query to another newly created database.  I'm getting this error on coding that was previously working.  It's now stopping and saying:

Microsoft Office Access
3265
Item not found in this collection

Can you tell me what this means and how I should fix it?
Thanks,  R.
Start your free trial to view this solution
Question Stats
Zone: Microsoft
Question Asked By: Raj_B_700
Question Asked On: 05.09.2008
Participating Experts: 2
Points: 500
Views: 0
Translate:
Loading Advertisement...
05.09.2008 at 12:37PM PDT, ID: 21535839

Rank: Genius

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.09.2008 at 01:29PM PDT, ID: 21536212

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.11.2008 at 01:34PM PDT, ID: 21543411

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.11.2008 at 01:39PM PDT, ID: 21543419

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.11.2008 at 01:57PM PDT, ID: 21543470

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.11.2008 at 01:59PM PDT, ID: 21543473

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.11.2008 at 02:38PM PDT, ID: 21543581

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.12.2008 at 01:19AM PDT, ID: 21545286

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.12.2008 at 05:42AM PDT, ID: 21546336

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.12.2008 at 06:46AM PDT, ID: 21546912

Rank: Sage

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
05.09.2008 at 12:37PM PDT, ID: 21535839

Rank: Genius

Ahhh ... can you post the code?

mx
 
05.09.2008 at 01:29PM PDT, ID: 21536212

Rank: Sage

the error means that your code tries to access a field by name that is not included in the query...
 
05.11.2008 at 01:34PM PDT, ID: 21543411
Here is the code:   Can you identify what is wrong? and how to fix it?   All this is doing is catching "all" the columns from the original view - that are from Octoboer 2007 onwards to date.  There are no other fields that are involved that may be incorrect by name or from another table/view.   Please help.....  This is a really urgent fix that I need to do......   Thanking you for your timely help,  sincerely,  R.

AUDItems(9).Source = "dbo.ncv_audit_val_allocs"
AUDItems(9).Target = "_dbo_ncv_audit_val_allocs"
AUDItems(9).Query = "_AUDValAllocsQry"
AUDItems(9).Export = "Labor Distribution Output - Value Allocation"
AUDItems(9).DBFilePath = AUD_PATH
AUDItems(9).Overwrite = AUD_OVWR
AUDItems(9).Statement = _
 "SELECT " & _
 "  [" & AUDItems(9).Target & "].* " & _
 "FROM " & _
 "   " & AUDItems(9).Target & _
 " WHERE " & _
 " PPEndDate between #" & AUD_FROM_PP & "# and #" & AUD_TO_PP & "#" & _
 ";"
AUDItems(9).UserQuery = "_Audit - LD Value Allocation - Employee Hours"
AUDItems(9).UserQueryStatement = _
"SELECT " & _
" Employee, " & _
" Mid([Activity],4,1) AS Arena, " & _
" Sum(ReportedHours) " & _
"FROM " & _
" [" & AUDItems(9).Export & "] " & _
"WHERE " & _
" Employee Like [Enter Name (eg, Public,J*):] " & _
"GROUP BY " & _
" Employee, " & _
" Mid([Activity],4,1)" & _
";"
 
05.11.2008 at 01:39PM PDT, ID: 21543419

Rank: Sage

the only "array/collection" item used seems to be:
AUDItems(9)

so, is that array/collection item set?
 
05.11.2008 at 01:57PM PDT, ID: 21543470
The  Module starts with setting up the Array for Array Items AUD(1) thru AUD(9).   1 thru 8 work ok,  but when it gets to AUD(9),  I get this error message......

Please help....  Thanks,  R.
 
05.11.2008 at 01:59PM PDT, ID: 21543473

Rank: Sage

>The  Module starts with setting up the Array for Array Items AUD(1) thru AUD(9).
can you clarify that part of the code and variable declaration?
 
05.11.2008 at 02:38PM PDT, ID: 21543581
AUD(9) :  Looks to a view in the ODBC Sybase Database - and gathers all columns from that view - and brings it forth :  with one parameter:  the Pay-Period-End-Dates are between Oct 2007 thru to Current.  

If I make a Make-Table Query - it works thru.  It's just that within this Arrayed-Module,  it stops when it gets to this one - which is the last one amonst 9 such components.   I need to have it functioning directly from one Macro - which operates & exports this array from the module.

I'm not sure - if this is what Sage was asking in the previous reply....  
 
05.12.2008 at 01:19AM PDT, ID: 21545286

Rank: Sage

please post the relevant code.
 
05.12.2008 at 05:42AM PDT, ID: 21546336
Hi, Sage...  Please look above... I had posted the coding......   Is there any more coding that is needed?

I am looking into the names of the columns - they are all valid.....

Please see if you can help me fix this.....  it's really urgent - and it's the last item that is holding up completion of this project.....

thank you.....
 
05.12.2008 at 06:46AM PDT, ID: 21546912

Rank: Sage

>Hi, Sage...
actually, that is my rank. my EE nickname is angelIII

>Please look above... I had posted the coding......
sorry, but you still missed the part where you declare the array variable AUDItems.

anyhow, if you have any doubts, you might want to attach the db?
 
 
20080206-EE-VQP-25 / EE_QW_2_20070628