Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Expert Access 2007 Programming ISBN 978-0-470-17402-9
This is the forum to discuss the Wrox book Expert Access 2007 Programming by Rob Cooper, Michael Tucker; ISBN: 9780470174029
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert Access 2007 Programming ISBN 978-0-470-17402-9 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 18th, 2009, 05:47 PM
Registered User
 
Join Date: Feb 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Dashboard problem with fonction

Hello,

First of all I wanna say how great I find your book. It is really, what I need. One can find really usefull tips in it and the example code is great.

I have a small problem though. I am not a professional programmer, but I am creating a database in our (very small) company, and I was trying to make the dashboards work. I copied your code, created all the tables and forms, everything ok, but whan I try to select a component to fill my frame, a error message turns up.

The highlighted line of code is in the fonction FillDashboard, and the line is :
Code:
frm.Controls(rs("DashboardControl")).SourceObject = rs("ComponentObject")
The error code is 2101 : parameter not valid for this property.

Could someone help me out here and tell me why I have this error message?
Did I forget something?

Many thanks for any comment.

Hans
Reply With Quote
  #2 (permalink)  
Old February 20th, 2009, 02:15 PM
Authorized User
 
Join Date: Oct 2007
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Salsaboy60 View Post
Hello,

First of all I wanna say how great I find your book. It is really, what I need. One can find really usefull tips in it and the example code is great.

I have a small problem though. I am not a professional programmer, but I am creating a database in our (very small) company, and I was trying to make the dashboards work. I copied your code, created all the tables and forms, everything ok, but whan I try to select a component to fill my frame, a error message turns up.

The highlighted line of code is in the fonction FillDashboard, and the line is :
Code:
frm.Controls(rs("DashboardControl")).SourceObject = rs("ComponentObject")
The error code is 2101 : parameter not valid for this property.

Could someone help me out here and tell me why I have this error message?
Did I forget something?

Many thanks for any comment.

Hans
Well, maybe you have to set the reference of the DAO recordset in visual Basic, have you set it ??...

Go to Database tools, visual Basic, tools, reference, and check if you have the DAO 3.6 reference check
Reply With Quote
  #3 (permalink)  
Old February 21st, 2009, 03:31 AM
Registered User
 
Join Date: Feb 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes, the DAO 3.6 is set.

I downloaded the example db from this site, and that Dashboard is running without any problem, so, the problem have to come from something else.
I will try today to rebuild everything and try again.

Thanks for your interest.

Hans
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with login logic and Dashboard alanphil BOOK: Professional CodeIgniter ISBN: 978-0-470-28245-8 18 August 13th, 2009 05:04 AM
Dashboard Example with different users mruschetti BOOK: Expert Access 2007 Programming ISBN 978-0-470-17402-9 7 February 9th, 2008 04:18 PM
Dashboard example mruschetti BOOK: Expert Access 2007 Programming ISBN 978-0-470-17402-9 1 January 5th, 2008 01:41 PM
Dashboard reporting tool luxx Excel VBA 0 January 2nd, 2004 11:26 AM



All times are GMT -4. The time now is 08:38 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.