Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Access 2003 VBA Programmer's Reference
This is the forum to discuss the Wrox book Access 2003 VBA Programmer's Reference by Patricia Cardoza, Teresa Hennig, Graham Seach, Armen Stein; ISBN: 9780764559037
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Access 2003 VBA Programmer's Reference section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old September 19th, 2006, 12:25 PM
Registered User
 
Join Date: Sep 2006
Location: , , USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 10: TreeView example

In the TreeView example on pages 311 and following in Chapter 10, I was hoping to be able to set the Image and Selected Image parameters for a given node based on values in the underlying table. However if I set these parameters to fields in the source query I get the following run-time error:

Microsoft Visual Basic
Run-time error '35603':
Invalid key

Is there a way around this error? The values I'm pulling from the table are numeric, between 1 and 4 , and all have corresponding images in the ImageListCtrl.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 10 Treeview Control adonnaru BOOK: Access 2003 VBA Programmer's Reference 1 September 19th, 2006 01:04 PM
Chapter 10 gogeo BOOK: Beginning Access 2003 VBA 1 January 22nd, 2006 09:41 AM
Chapter 10 czambran BOOK: Beginning CSS: Cascading Style Sheets for Web Design ISBN: 978-0-7645-7642-3 2 March 29th, 2005 09:35 AM
Chapter 10 columbiasmiles JSP Basics 0 May 17th, 2004 08:09 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.