Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access 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
 
Old October 2nd, 2012, 09:51 AM
Authorized User
 
Join Date: Nov 2011
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
Talking Run Time Error 2683 "There is no Object in this Control"

I have a group that upgraded to 2010. This code has never been an issue until now. They have a database that uses date functions, and we are getting this error. Run Time Error 2683 "There is no Object in this Control"

I have corrected all of the "Missing" References, and have now tried to re-register all of the references. Am still coming up with this error.

This is the code:
Code:
Private Sub StartDate_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Set cboOriginator = StartDate
    StartDateCalendar.Visible = True
    StartDateCalendar.SetFocus
    
    If Not IsNull(StartDate) Then
    StartDateCalendar.Value = StartDate.Value
    Else
    StartDateCalendar.Value = Date
    End If

 End Sub
The previous references that were missing were Microsoft Excel 14.0 Object Library and Microsoft Outlook 14.0 Object Library. I've changed them to 12.0.

I also have the following references selected:
-Visual Basic for Application
-Microsoft Access 12.0 Object Library
-OLE Automation
-Microsoft DAO 3.6 Object Library
-Microsoft ActiveX Data Objects 2.8 Library
Any help would be greatly appreciated.





Similar Threads
Thread Thread Starter Forum Replies Last Post
"Object required" error cdaye99 VBScript 4 September 22nd, 2011 05:23 PM
MSXSL gives error message for "for" inside "select" ilyaz XSLT 1 December 9th, 2010 05:02 PM
How to theme the "Browse" button of "FileUpload" control? varunbwj BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 October 14th, 2009 01:22 AM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM
Response.Redirect gets "object required" error Ron Howerton VBScript 2 August 27th, 2009 01:45 PM





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